I am trying to get gomail via gopkg.in/gomail.v1 but my connection just stays hanging. In other words, on my console, when I type:
[developer@machine gocode]$ go get gopkg.in/gomail.v1
I get nothing
However in the /gocode/src/gopkg.in directory, I see a directory named gomail.v1 with nothing inside..
I hope this will help others. I spent almost 3 hours figuring this out. Apparently,
[developer@machine gocode]$ go get gopkg.in/wantedpackage
will not not work with git version < 1.7.9.5. The trick is to upgrade your git version. I upgraded my git version to 1.7.12.4 and it works.
go get
does not not display anything while downloading and installing libraries. So as long as you are connected to the internet just wait. If there are troubles connecting to the server it will display an error.
Depending on your platform: Check if you have installed git
and hg
.