# Enable the go modules featureexport GO111MODULE=on
# Set the GOPROXY environment variableexport GOPROXY=https://mirrors.aliyun.com/goproxy/
方法2: windows命令行
# Enable the go modules featureset GO111MODULE=on
# Set the GOPROXY environment variableset GOPROXY=https://mirrors.aliyun.com/goproxy/
方法3: Go>=1.13
# Set the GOPROXY environment variable
go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct