I am using go-1.7 on MacOS Sierra.
My project is inside my $ GOPATH / src folder and has a vendor folder inside with all its dependencies.
and I use dependencies like this inside my code:
import ( "github.com/google/go-github/github" )
Now, if I run go build , I get a message saying that all my dependencies that I use cannot be found inside $ GOROOT and $ GOPATH on another, and adding "vendor" to my code works:
import ( "vendor/github.com/google/go-github/github" )
But, as I understand it, it should be possible for the first code to be truncated.
ah FYI no symbolic links, etc.
source share