3 ms·
there are linters that will help you with that. https://github.com/kisielk/errcheck https://github.com/kisielk/errcheck https://golangci-lint.run/usage/linter
by jatone 6y ago
there are linters that will help you with that.
https://github.com/kisielk/errcheck https://github.com/kisielk/errcheck
https://golangci-lint.run/usage/linters/ https://golangci-lint.run/usage/linters/ has a solid set of options.
- nimish 6y agoI just wish the linter was integrated into the compiler. And that code that didn't check would simply not compile