How are we supposed to get go vet
to run linters like nakedret provisioned with the new Go 1.24 go tool
/ go mod
system?
Unlike NPM, go tool has no way to display a path to the given tool in the cache.
As a workaround, I am running go install tool
to emit binaries from go mod into GOBIN. However, this is likely to conflict when using different versions of dev tools across projects checked out on the local workstation. And it flies in the face of go vet’s design.