go.mod: restore staticcheck module, make it stick around, go mod tidy

It kept coming & going as different people ran go mod tidy and others
ran staticcheck.

Make it stop going away with go mod tidy by adding a dep to it.
This commit is contained in:
Brad Fitzpatrick
2020-07-02 22:52:42 -07:00
parent 6c70cf7222
commit 7883e5c5e7
3 changed files with 29 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file exists just so go mod tidy won't remove
// staticcheck's module from our go.mod.
package tstest
import (
_ "honnef.co/go/tools/staticcheck"
)