fix golint

Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
Huamin Chen 2018-10-15 15:06:21 +00:00
parent c2b69d30e0
commit eda167ca0d

View File

@ -10,7 +10,7 @@ go: 1.9.x
before_script: before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/) - GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
- go get github.com/golang/lint/golint - go get -u golang.org/x/lint/golint #go get github.com/golang/lint/golint
script: script:
- test -z $(gofmt -s -l $GO_FILES) - test -z $(gofmt -s -l $GO_FILES)