go get a timeout processing 443 GFW

go get normal is a key to download and install the required packages, provided that the configured gopath environment variable
in the GFW, timeout, 443 various download packages do not come down, there are several solutions

  1. .. .. .. Division on school network
  2. go to do the appropriate image, using the corresponding packet git clone, re-installed using the install go corresponding packet,
    for example, rely on this golang.org/x/sys/windows
    can Lone github.com/golang/sys.git Git
    go the install this package
在相应的gopath底下使用git colne
git clone https://github.com/golang/net.git
  1. Use gopm Go Alternatively,
    mounting gopm
    Go GET -u github.com/gpmgo/gopm
    substituting gopm get -g go getgopm get a little longer time may be required to wait
    without using -g parameter dependencies will download .vendor directory;
    -g using parameters, it can be dependent package to GOPATH directory;
    gopm GET -g golang.org/x/net

Guess you like

Origin www.cnblogs.com/0916m/p/11481952.html