You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a go project, which has a local vendor folder containing one local lib package.
The main package imports the lib package.
The main package doesn't import any other packages.
When the project is put under $GOPATH, it compiles ok,
But if the project is put outside of $GOPATH, then compiler reports the local lib package is not found.
What did you expect to see?
I hope the project also compiles ok if it is put outside of $GOPATH.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go version go1.7.3 linux/amd64
What did you do?
I have a go project, which has a local vendor folder containing one local lib package.
The main package imports the lib package.
The main package doesn't import any other packages.
When the project is put under $GOPATH, it compiles ok,
But if the project is put outside of $GOPATH, then compiler reports the local lib package is not found.
What did you expect to see?
I hope the project also compiles ok if it is put outside of $GOPATH.
The text was updated successfully, but these errors were encountered: