errcheck checks that you checked errors.
Go 1.22 support, plus other fixes.
Full Changelog: https://github.com/kisielk/errcheck/compare/v1.6.3...v1.7.0
GO111MODULE
by @kisielk in https://github.com/kisielk/errcheck/pull/222
Full Changelog: https://github.com/kisielk/errcheck/compare/v1.6.2...v1.6.3
Full Changelog: https://github.com/kisielk/errcheck/compare/v1.6.1...v1.6.2
Full Changelog: https://github.com/kisielk/errcheck/compare/v1.6.0...v1.6.1
Add SelectorName field to UncheckedError result struct.
4319a61 Support the -mod=vendor flag for using modules in a vendor directory
c491130 Correction: requires Go 1.11.x 6b5513d Ignore comments and empty lines in excludes files
b367e75 Limit the amount of memory errcheck uses with smarter goroutine scheduling 175c8b8 Drop support for Go 1.10 and Go 1.9 77437ce Upgrade golang.org/x/tools to latest e327f15 Fix #139: Add example of excluding a call to a vendored dependency ff9d777 Update .travis.yml dd5e04e Update .travis.yml aaeeb43 Use svg for ci build graphics 2050f4e Fix regression that occurs when GO111MODULE=on f4fbc7c .travis.yml, tests: Update for GO111MODULE=on [ci-skip] ff068b1 .travis.yml: Grow the build matrix, pin golang.org/x/tools version 3bf72b1 errcheck_test.go: Better error reporting for debugging 4f924b3 errcheck_test.go: Remove dead code
Add support for Go modules.