# 临时设置
# Linux 下
export GOPROXY=https://mirrors.aliyun.com/goproxy/
# Windows 下
set GOPROXY=https://mirrors.aliyun.com/goproxy/
# 永久设置
go env -w GO111MODULE=on
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/
# 临时设置
# Linux 下
export GOPROXY=https://mirrors.aliyun.com/goproxy/
# Windows 下
set GOPROXY=https://mirrors.aliyun.com/goproxy/
# 永久设置
go env -w GO111MODULE=on
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/