main.go
3.01 KB
-
scripts/build/*: Fix some golint issues · 4b68055c
See, $ gometalinter --vendor --disable-all --enable=golint ./... build/release_publisher/externalrelease.go:55:6:warning: type getHttpContents should be getHTTPContents (golint) build/release_publisher/publisher.go:18:2:warning: struct field apiUri should be apiURI (golint) build/release_publisher/publisher.go:66:6:warning: exported type ReleaseType should have comment or be unexported (golint) build/release_publisher/publisher.go:69:2:warning: exported const STABLE should have comment (or a comment on this block) or be unexported (golint) build/release_publisher/publisher.go:185:16:warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint) build/release_publisher/publisher_test.go:102:6:warning: type mockHttpGetter should be mockHTTPGetter (golint)
Mario Trangoni committed