Next: , Previous: , Up: Go-Mode Features   [Index]


A.4.7 Finding unchecked errors with go-errcheck

go-errcheck

https://github.com/dominikh/go-errcheck.el offers the go-errcheck function, which will run errcheck on the current package and report errors in a compilation buffer.

errcheck

https://github.com/kisielk/errcheck a tool written by Kamil Kisiel for finding and reporting unchecked errors in your Go code.

go get -u github.com/kisielk/errcheck
errcheck github.com/kisielk/errcheck/testdata
errcheck ./...
errcheck all

go-errcheck.el integrates errcheck with Emacs by providing a go-errcheck command and customizable variables to automatically pass flags to errcheck.