Files
influx-cli/tools.go
Daniel Moran 4f62e469e9 refactor: switch to OpenAPITools's generator for our HTTP clients (#33)
* build: add CI job to check OpenAPI generation is clean
* feat: add hidden flag for HTTP debug
2021-04-16 17:16:58 -04:00

16 lines
569 B
Go

//+build tools
package influxcli
// 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.
import (
_ "github.com/daixiang0/gci"
_ "honnef.co/go/tools/cmd/staticcheck"
)