How to ignore test files(_test.go) using go/analysis? It seems like that go/analysis load test files by default.
This was mentioned in Oct. 2020 with golang/go issue 41771:
golang/go
It was discussed in leighmcculloch/gochecknoglobals PR 16, but so far (Sept. 2021), without any clear resolution.
leighmcculloch/gochecknoglobals
Singlechecker assumes tests are enabled by default and -test=false disables them.
Copyright © 2021 Jogjafile Inc.
This was mentioned in Oct. 2020 with
golang/goissue 41771:It was discussed in
leighmcculloch/gochecknoglobalsPR 16, but so far (Sept. 2021), without any clear resolution.