In general, I recommend using golangci-lint[0], which aggregates a ton of useful linters like this one.
[0]: https://github.com/golangci/golangci-lint
In general, I recommend using golangci-lint[0], which aggregates a ton of useful linters like this one.
[0]: https://github.com/golangci/golangci-lint