0.4.2
what
- Provide all
.gofiles at once togo vet - Remove
-dflag fromgo get - Install
golint
why
- If
.gofiles provided sequentially togo vet, it couldn't find dependencies throwing the error:
make[1]: Entering directory `/home/travis/gopath/src/github.com/cloudposse/slack-notifier'
find . ! -path "*/vendor/*" ! -path "*/.glide/*" -type f -name '*.go' | xargs -n 1 /home/travis/.gimme/versions/go1.9.4.linux.amd64/bin/go vet -v
Checking file slack_notifier.go
main.go:45:24: undeclared name: Field
go getinstalls packages automatically (if-dflag is not specified)golintwas just downloaded, but not installed
find . ! -path "*/vendor/*" ! -path "*/.glide/*" -type f -name '*.go' | xargs -n 1 golint
xargs: golint: No such file or directory