linux安装go环境
参考官网流程: https://golang.google.cn/doc/install
wget https://golang.google.cn/dl/go1.15.7.linux-amd64.tar.gz
tar -C /usr/local -zxvf go1.15.7.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile
echo "export GO111MODULE=on" >> /etc/profile
echo "export GOPATH=/root/go" >> /etc/profile
echo "export GOPROXY=https://goproxy.cn" >> /etc/profile
source /etc/profile