Doing go get gopkg.in/yaml.v2 on my machine or any package from gopkg.in fails with the error:
$ go get -v gopkg.in/yaml.v2
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
# cd .; git clone https://gopkg.in/yaml.v2 C:\gocode\src\gopkg.in\yaml.v2
Cloning into 'C:\gocode\src\gopkg.in\yaml.v2'...
fatal: The remote end hung up unexpectedly
error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301
package gopkg.in/yaml.v2: exit status 128
Does it have to do with the location of my machine? Singapore.
Doing
go get gopkg.in/yaml.v2
on my machine or any package fromgopkg.in
fails with the error:Does it have to do with the location of my machine? Singapore.