Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
networkimprov
5y ago
0 comments
Share
Vet accepts the third, and may (I forget) accept the first if err is redeclared or simply assigned.
0 comments
default
newest
oldest
jchw
5y 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.
j
/
k
navigate · click thread line to collapse