Open Netherdrake opened 9 years ago
Ugh, gvm linkthis
did the trick. I had to reinstall gvm first, I had a really ancient version.
Ok, I am running into 1 issue now.
The repo of my-project
is a private bitbucket repo. It has some packages like bitbucket.org/user/my-project/foo
and bitbucket.org/user/my-project/bar
.
Now I'm running into this problem:
cannot find package bitbucket.org/user/my-project/foo
and go get
returns 403 FORBIDDEN
.
https://groups.google.com/forum/#!topic/golang-nuts/li8J9a-Tbz0
So I've manually git clone
d the project into ~/Documents/go/src/bitbucket.org/user/my-project
with all its packages. I've done this after running gvm linkthis
on ~/Documents/go
.
However it won't build now. It complains that the packages foo
and bar
can't be found in $GOPATH
, so its looking for them in ~/.gvm/gos/go1.4.1/src
instead of ~/Documents/go/src
.
Any ideas how to solve this?
This isn't really an issue with
gvm
, but I thought you might be able to help me out.I use
gvm
on ubuntu, and the$GOPATH
is something like:However, I'd like to be able to compile my project from
~/Documents/my-project
. Is there any way to make go think~/Documents/my-project
is$GOPATH/src/bitbucket.org/foo/my-project
?