1
0
mirror of https://github.com/beego/bee.git synced 2025-07-03 05:00:19 +00:00

add ineffassign check

This commit is contained in:
astaxie
2017-04-28 22:53:38 +08:00
parent 823dca76d5
commit e1f3353511
6 changed files with 9 additions and 12 deletions

View File

@ -10,6 +10,7 @@ install:
- go get -u honnef.co/go/tools/cmd/staticcheck
- go get -u honnef.co/go/tools/cmd/unused
- go get -u github.com/mdempsky/unconvert
- go get -u github.com/gordonklaus/ineffassign
script:
- find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
- go vet $(go list ./... | grep -v /vendor/)
@ -18,3 +19,4 @@ script:
- staticcheck $(go list ./... | grep -v /vendor/)
- unused $(go list ./... | grep -v /vendor/)
- unconvert $(go list ./... | grep -v /vendor/)
- ineffassign .