cmd/vet: go vet *.go / go tool vet *.go ignore Build Constraints when using sync.Map #22573
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Nothing has changed with regard to how cmd/vet handles build constraints when invoked with a list of files. In all cases it checks all the files. You can see this easily enough by adding something that triggers a warning, such as
What has changed is how cmd/vet handles duplicate definitions. On tip, the future 1.10, cmd/vet actually emits errors:
In all cases,
I'm inlined to simply close this issue with the recommendation to use plain