安装并配置环境
export GOROOT=/opt/go
export GOPATH=/opt/go/ext
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
安装并配置环境
export GOROOT=/opt/go
export GOPATH=/opt/go/ext
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
本文标题:golang环境配置
本文链接:https://www.haomeiwen.com/subject/mxrfwdtx.html
网友评论