logoalt Hacker News

stevekemptoday at 7:38 AM0 repliesview on HN

I like the way that golang supports the use of tools in the go.mod file.

Something like:

     go get -tool github.com/golangci/golangci-lint/cmd/[email protected]
And then you can list tools :

     go list -f '{{.Tool}}' all
ANd run them:

     go tool staticcheck ./...