exec: "gcc": executable file not found in %PATH%
解决方式:需要安装MinGW-w64
imports golang.org/x/net/websocket: unrecognized import path "golang.org/x/net/websocket" (https fetch: Get https://golang.org/x/net/websocket?go-get=1: dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
解决方法以及其他类似包处理:
- 在GOPATH的src下创建golang.org文件夹,并在golang.org中创建x文件夹
git clone https://github.com/golang/net.git
git clone https://github.com/golang/tools.git
git clone https://github.com/golang/dep.git
git clone https://github.com/golang/crypto.git
git clone https://github.com/golang/oauth2.git