Go 学习笔记
Go 学习笔记

配置国内代理 命令行运行以下命令


go env -w GOPROXY=https://goproxy.cn,direct

验证是否成功设置:

go env GOPROXY

输出结果应为 https://goproxy.cn,direct