下载官网:https://github.com/voidint/g/releases下载适合自己电脑的版本,如:g1.5.0.windows-amd64配置环境变量配置(系统变量):# 代理G_MIRROR=https://golang.google.cn/dl/# g.exe 所在目录G_HOME