快速配置Go语言开发环境
echo "export GO111MODULE=on" >>/etc/profile
echo "export GOPROXY=https://goproxy.cn" >>/etc/profile
echo "export GOPATH=/root/go" >>/etc/profile
echo "export GOROOT=/usr/lib/go" >>/etc/profile
echo "export PATH=$GOPATH/bin:$GOROOT/bin:$PATH" >>/etc/profile
source /etc/profile