Gosimple has been deprecated. Please use staticcheck instead.

This commit is contained in:
JessonChan 2019-01-22 18:01:14 +08:00
parent 3ed82c0882
commit e65a9cbc00
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ after_script:
- rm -rf ./res/var/*
script:
- go test -v ./...
- staticcheck -show-ignore "$(cat .gosimpleignore)" $(go list ./... | grep -v /vendor/)
- staticcheck -show-ignored "$(cat .gosimpleignore)" $(go list ./... | grep -v /vendor/)
- unconvert $(go list ./... | grep -v /vendor/)
- ineffassign .
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s