4 ms·
That is a fair point and it's why I use errcheck[0]. [0]: https://github.com/kisielk/errcheck https://github.com/kisielk/errcheck
by cube2222 4y ago
That is a fair point and it's why I use errcheck[0].
[0]: https://github.com/kisielk/errcheck https://github.com/kisielk/errcheck
- Smaug123 4y agoMagic! I just checked, and this found the bug in a Go tool I use that bit me a couple of months ago, which I'm still smarting from. Thanks!
- cube2222 4y agoGlad I could help! 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 https://github.com/golangci/golangci-lint