Skip to content

Commit

Permalink
introduce unused check that report unused variable or functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mavimo committed Aug 23, 2018
1 parent 2a45bc8 commit ca4a535
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ before_install:
- go get -v github.com/golang/dep/cmd/dep
- dep ensure
- go get -v github.com/golang/lint/golint
- go get -u honnef.co/go/tools/...

script:
- golint cmd/ pkg/
- go test -v ./...
- unused $(go list ./...)

0 comments on commit ca4a535

Please sign in to comment.