Y
Hacker News
new
|
ask
|
show
|
jobs
by
networkimprov
2148 days ago
Vet accepts the third, and may (I forget) accept the first if err is redeclared or simply assigned.
1 comments
jchw
2148 days ago
My bad, I was thinking of errcheck, which is more thorough and integrated into most Go linting tools like Go CI linter.
https://github.com/kisielk/errcheck
In any case, it’s trivial to detect via static analysis.
link
https://github.com/kisielk/errcheck
In any case, it’s trivial to detect via static analysis.