Enable `nogo` and possibly `golangci-lint`: - https://github.com/bazelbuild/rules_go/blob/master/go/nogo.rst - https://github.com/bazelbuild/rules_go/blob/master/go/nogo.rst#should-i-use-nogo-or-golangci-lint - [gvisor :: Extended "nogo" analysis](https://github.com/google/gvisor/tree/master/tools/nogo) Sourcegraph - [context:global repo:has.path(WORKSPACE|MODULE.*) repo:has.path(BUILD.*) -file:vendor/* -lang:Markdown golangci-lint](https://sourcegraph.com/search?q=context:global+repo:has.path%28WORKSPACE%7CMODULE.*%29+repo:has.path%28BUILD.*%29+-file:vendor/*+-lang:Markdown++golangci-lint&patternType=keyword&sm=0)
Enable
nogoand possiblygolangci-lint:Sourcegraph