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
- .. .. .. Division on school network
- 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
- 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