errcheck
https://github.com/kisielk/errcheck
Go
errcheck checks that you checked errors.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported2 Subscribers
Add a CodeTriage badge to errcheck
Help out
- Issues
- test: add injectPackages helper for temporary package tests
- Add test helper for creating and injecting temporary pacakges
- Honor -exclude for calls to same-package functions
- Related work: my `--fix` for what `errcheck` finds (AST / DST code rewrite)
- False-positives alerts for interface type conversions
- The `-exclude` option does not seem to work for functions declared in the same package
- -ignoretests but only for -asserts
- Proposal: Add option for strict checking of if statement declares
- Add example in docs
- Check error assignments that shadow
- Docs
- Go not yet supported