0.4.2
what
- Provide all
.go
files at once togo vet
- Remove
-d
flag fromgo get
- Install
golint
why
- If
.go
files 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 get
installs packages automatically (if-d
flag is not specified)golint
was 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