Re:Nine years of Go
by nvarsj on Saturday November 10, 2018 @05:00PM
(#18423752)
It's baffling though that the compiler doesn't at least warn when you forget to check the err. So many edge cases with that (especially due to `:=` vs `=` if reassigning a prior err).
[ Parent
| on HN ]
Re:Nine years of Go
by AlexCoventry on Saturday November 10, 2018 @08:33PM
(#18424541)
Try gometalinter. https://stackoverflow.com/questions/43898074/is-there-a-way-...
Re:Nine years of Go
by thegeekpirate on Sunday November 11, 2018 @12:26AM
(#18425142)
Specifically (if wanted standalone) https://github.com/kisielk/errcheck
Re:Nine years of Go
by AlexCoventry on Sunday November 11, 2018 @12:46AM
(#18425172)
Personally, I like my linter output in the style of a furious fruit salad, so I go for the kitchen sink.