Closed fhs closed 9 years ago
Where do I get the most up to date version of go lint? My local copy doesn't return any errors, which is clearly false.
go get -u github.com/golang/lint/golint cd $GOPATH/src/github.com/gonum/blas golint ./...
On Fri, Jan 2, 2015 at 5:20 PM, Brendan Tracey notifications@github.com wrote:
Where do I get the most up to date version of go lint? My local copy doesn't return any errors, which is clearly false.
— Reply to this email directly or view it on GitHub https://github.com/gonum/blas/pull/71#issuecomment-68568113.
Thanks. I guess mine was out of date.
What's wrong with a leading k on a variable name?
Or rather, what is the common thing people do to make that a golint error?
LGTM when the "A" are removed.
It's apparently a "common styles from other languages that don't belong in Go." See: https://github.com/golang/lint/blob/master/lint.go#L486
I'm not sure what language it's referring to. Maybe people use "k" to mean "constant".
Thanks for the fixes.
The auto-generated files are ignored for now.