gopkgs.com import no worky
Closed this issue · 2 comments
magisterquis commented
It seems gopkgs.com isn't up. I get a 502 trying to import geoip.v1.
$ go get -v gopkgs.com/geoip.v1
Fetching https://gopkgs.com/geoip.v1?go-get=1
https fetch failed.
Fetching http://gopkgs.com/geoip.v1?go-get=1
Parsing meta tags from http://gopkgs.com/geoip.v1?go-get=1 (status code 502)
import "gopkgs.com/geoip.v1": parse http://gopkgs.com/geoip.v1?go-get=1: no go-import meta tags
package gopkgs.com/geoip.v1: unrecognized import path "gopkgs.com/geoip.v1"
tomerdmnt commented
Fixed it.
gopkgs.com is down, and rainycape/geoip does not allow import through github.com, so I vendored the package.
magisterquis commented
Closer, but I think you have an error in the path somewhere:
package github.com/tomerdmnt/geoipmap/vendor/rainycape/geoip
imports github.com/tomerdmnt/geoipmap/vendor/rainycape/geoip
imports github.com/tomerdmnt/geoipmap/vendor/rainycape/geoip: cannot find package "github.com/tomerdmnt/geoipmap/vendor/rainycape/geoip" in any of:
/home/stuart/usr/go/src/github.com/tomerdmnt/geoipmap/vendor/rainycape/geoip (from $GOROOT)
/home/stuart/go/src/github.com/tomerdmnt/geoipmap/vendor/rainycape/geoip (from $GOPATH)
I think you have an extra /github.com/
in the path in the repo.