golang

安装:

apt install golang

换源:

# 启用 Go Modules 功能
go env -w GO111MODULE=on
# 阿里云
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
# 验证
go env | grep GOPROXY