I'm using go-1.7 in MacOS Sierra.
My project is inside my $GOPATH/src folder and has a vendor folder inside with all its dependencies.
and I'm using the dependencies like this inside my code:
import (
"github.com/google/go-github/github"
)
Now if I run go build
i get the message that all my dependencies I use could not be found inside the $GOROOT and $GOPATH on the other and adding "vendor" to my code is working:
import (
"vendor/github.com/google/go-github/github"
)
But as far as I understood it should be possible to to like in the first code snipped.
ah FYI there are no symlinks etc.