buaazp / Godef

Plugin of sublime to use godef to go to definitions accurately.
BSD 3-Clause "New" or "Revised" License
82 stars 24 forks source link

dependency on 9fans.net caused failure to install #7

Closed marshyon closed 9 years ago

marshyon commented 9 years ago

following attempt to install :

$ go get -v code.google.com/p/rog-go/exp/cmd/godef
Fetching https://9fans.net/go/acme?go-get=1
https fetch failed.
Fetching http://9fans.net/go/acme?go-get=1
import "9fans.net/go/acme": http/https fetch: Get http://9fans.net/go/acme?go-get=1: dial tcp 71.249.206.161:80: i/o timeout
package 9fans.net/go/acme: unrecognized import path "9fans.net/go/acme"

9fans.net seems to have been down for last few days, spotted this trying to install vim tools for go :

:GoInstallBinaries ....

vim-go: godef not found. Installing github.com/rogpeppe/godef to folder /home/jon/go/bin/
Error installing github.com/rogpeppe/godef: github.com/rogpeppe/godef (download)
Fetching https://9fans.net/go/acme?go-get=1
https fetch failed.
Fetching http://9fans.net/go/acme?go-get=1
import "9fans.net/go/acme": http/https fetch: Get http://9fans.net/go/acme?go-get=1: dial tcp 71.249.206.161:80: i/o
 timeout
package github.com/rogpeppe/godef
        imports 9fans.net/go/acme: unrecognized import path "9fans.net/go/acme"
buaazp commented 9 years ago

Yes, 9fans.net is not good for building godef binary. To solve this problem temporarily, I forked 9fans-go and rog-go to my github repository. Use this command below to install godef via github:

go get -v github.com/buaazp/rog-go/exp/cmd/godef

Try and tell me if it can work well.

buaazp commented 9 years ago

godef now moved to github and you can just go get it:

go get -v github.com/rogpeppe/godef