duanjiu1003 2015-06-02 09:38
浏览 398
已采纳

go golang的get get命令没有响应

I am facing a strange situation. I tried to run:

go get -x github.com/hooklift/gowsdl
cd.
git clone https://gopkg.in/inconshreveable/log15.v2 /home/usr_a/gocode/src/gopkg.in/inconshreveable/log15.v2

And I don't see this command giving any response. It never returns.

This is my $GOPATH:

/home/usr_a/gocode

and $GOROOT:

/usr/local/go/

However, the version shows like this:

go version go1.4.2 linux/amd64

Any idea, where am I going wrong or can point me to the way we install github module in golang?

  • 写回答

1条回答 默认 最新

  • douwu3763 2015-06-02 12:01
    关注

    It happens because of old version of git.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?