Add tools package, tidy go mods

This commit is contained in:
Michael Cristina
2020-05-22 13:23:20 -05:00
parent 80dc4763bf
commit 823847d90a
5 changed files with 35 additions and 4 deletions

9
hack/tools.go Normal file
View File

@@ -0,0 +1,9 @@
// +build tools
// This package imports things required by build scripts, to force `go mod` to see them as dependencies
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
package hack
import (
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
)