|
|
@ -18,7 +18,7 @@ lint: |
|
|
go list ./... | grep -v /vendor/ | xargs -L1 golint -set_exit_status |
|
|
go list ./... | grep -v /vendor/ | xargs -L1 golint -set_exit_status |
|
|
|
|
|
|
|
|
install-staticcheck: |
|
|
install-staticcheck: |
|
|
cd /tmp && GOPROXY=on go get honnef.co/go/tools/cmd/staticcheck |
|
|
|
|
|
|
|
|
cd /tmp && GOPROXY="" go get honnef.co/go/tools/cmd/staticcheck |
|
|
|
|
|
|
|
|
staticcheck: |
|
|
staticcheck: |
|
|
staticcheck -f stylish ./... |
|
|
staticcheck -f stylish ./... |