forked from influxdata/influxdb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tools.go
22 lines (19 loc) · 901 Bytes
/
tools.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//+build tools
package influxdb
import (
_ "github.com/benbjohnson/tmpl"
_ "github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker"
_ "github.com/gogo/protobuf/protoc-gen-gogo"
_ "github.com/gogo/protobuf/protoc-gen-gogofaster"
_ "github.com/goreleaser/goreleaser"
_ "github.com/kevinburke/go-bindata/go-bindata"
_ "github.com/mna/pigeon"
_ "golang.org/x/tools/cmd/stringer"
_ "honnef.co/go/tools/cmd/megacheck"
)
// This package is a workaround for adding additional paths to the go.mod file
// and ensuring they stay there. The build tag ensures this file never gets
// compiled, but the go module tool will still look at the dependencies and
// add/keep them in go.mod so we can version these paths along with our other
// dependencies. When we run build on any of these paths, we get the version
// that has been specified in go.mod rather than the master copy.