Suggestions from golint are not gospel. They're just that: suggestions.
https://github.com/golang/go/commit/8f7173dcdeb1a1c8af885bb2a267674b4f5fbfc4 …
#golang
Unfortunately it's common to fail the build if golint isn't satisfied, so for many projects, golint really is gospel.
-
-
"In short, this tool is not, and will never be, trustworthy enough for its suggestions to be enforced automatically, for example as part of a build process." --https://github.com/golang/lint#purpose …
-
And yet, it moves. People do it, and will continue to do it. You can only ignore the way people use your tools in the real world for so long.
- 4 more replies
New conversation -
-
-
life is simpler when golint is gospel
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.