buildtag/timebomb
![pkg.go.dev](https://pkg.go.dev/badge/github.com/gostaticanalysis/buildtag/timebomb?status.svg)
timebomb
timebomb finds suspicious build tags such as below.
- a build tag which has "go" prefix and it corresponds to a version which does not start development yet
Install
You can get timebomb
by go install
command (Go 1.16 and higher).
$ go install github.com/gostaticanalysis/buildtag/timebomb/cmd/timebomb@latest
How to use
timebomb
run with go vet
as below when Go is 1.12 and higher.
$ go vet -vettool=$(which timebomb) ./...
You can use timebomb.Analyzer with unitchecker.