安装go环境

# 下载最新版本go,https://studygolang.com/dl

sudo
tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz export PATH=$PATH:/usr/local/go/bin export GOPROXY=https://goproxy.cn export PATH=$PATH:$(go env GOPATH)/bin

 

posted @ 2020-09-11 17:37  sulerzh  阅读(136)  评论(0编辑  收藏  举报