摘要:
1、 设置环境变量GOPROXY=https://direct,//mirrors。阿里云。com/goproxy/,//goproxy。cn,//大气。天青网,https://gonexus.dev2、下载goctlgogetgithub.com/tal-tech/go-to-zero/tools/goctl III。检查安装是否成功
一、设置环境变量
GOPROXY=https://goproxy.io,direct,https://mirrors.aliyun.com/goproxy/,https://goproxy.cn,https://athens.azurefd.net,https://gonexus.dev
二、下载goctl
go get github.com/tal-tech/go-zero/tools/goctl
三、查看是否安装成功