4 ms·
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/golangci-lint
by stevekemp 7mo ago
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/golangci-lint@v1.64.4
And then you can list tools :
go list -f '{{.Tool}}' all
ANd run them:
go tool staticcheck ./...