vi /etc/profile export GOROOT=/usr/local/src/go/go export GOPATH=/www/go export PATH=$PATH:$GOROOT/bin 执行 go env -w GOPROXY=https://goproxy.cn
---------docker--------- https://www.cnblogs.com/kevin-space/p/12502049.html