Merge pull request #90 from rootfs/master

fix golint
This commit is contained in:
Huamin Chen 2018-10-15 11:08:39 -04:00 committed by GitHub
commit b93418815f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)