Hacker News new | ask | show | jobs
by jatone 2199 days ago
there are linters that will help you with that.

https://github.com/kisielk/errcheck

https://golangci-lint.run/usage/linters/ has a solid set of options.

1 comments

I just wish the linter was integrated into the compiler. And that code that didn't check would simply not compile