I have an update for GO 1.6, and now I get a very strange error on startup go test
pawel@pawel:~/work/src/...../web/workers$ go test email_test.go
email_test.go:16:2: cannot find package "command-line-a/vendor/github.com/jpoehls/gophermail" in any of:
/usr/local/go/src/command-line-a/vendor/github.com/jpoehls/gophermail (from $GOROOT)
/home/pawel/work/src/command-line-a/vendor/github.com/jpoehls/gophermail (from $GOPATH)
/home/pawel/work/src/...../web/_vendor/src/command-line-a/vendor/github.com/jpoehls/gophermail
FAIL command-line-arguments [setup failed]
I also tried running it with go test email_test.go email.go, but the result will be the same. I grep for the "command line" in my project and provider and did not find it.
The launch is go run email.goworking correctly. My project dependencies are in the directory vendor(which is one level higher), it containsgithub.com/jpoehls/gophermail
source
share