Golang errcheck: Difference between revisions
From wikinotes
No edit summary |
(→Notes) |
||
Line 19: | Line 19: | ||
= Notes = | = Notes = | ||
<blockquote> | <blockquote> | ||
[[VimPlugin | [[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 | https://github.com/fatih/vim-go/blob/master/autoload/go/lint.vim#L296-L375 | ||
</blockquote><!-- Notes --> | </blockquote><!-- Notes --> |
Revision as of 18:51, 26 June 2022
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