Golang errcheck

From wikinotes
Revision as of 18:51, 26 June 2022 by Will (talk | contribs) (→‎Notes)

Checks for ignored errors within your application.

Documentation

github https://github.com/kisielk/errcheck

Install

go install github.com/kisielk/errcheck@latest

Notes

VimPlugin: vim-go has a pretty nice setup for ErrCheck, it might be nice to take inspiration from that.

https://github.com/fatih/vim-go/blob/master/autoload/go/lint.vim#L296-L375