DEV Community

Discussion on: Setting Up Dev Environment for Golang

Collapse
 
michaelcurrin profile image
Michael Currin

Any reason why you chose golangci-lint over the default golint ?

Collapse
 
neel229 profile image
Neel Modi

First of all, it is faster than golint.
Second, you can append //nolint to the end of the line for the code you do want to perform linting on.

For more use cases, you can check them out here.
golangci-lint.run/usage/linters/