5 ms·
https://github.com/kisielk/errcheck https://github.com/kisielk/errcheck Every Go project I've worked on has used this linter. I think it should be builtin, but
by pipe_connector 4y ago
https://github.com/kisielk/errcheck https://github.com/kisielk/errcheck
Every Go project I've worked on has used this linter. I think it should be builtin, but it's very easy to incorporate.
- shepherdjerred 4y ago> but it's very easy to incorporate. As someone who is adding this to a Go project with hundreds of unchecked errors, I disagree.
- styluss 4y agoWhat kind of error does it check?
- panachaud 4y agoIt looks for code where the err != nil hasn’t been handled