一、设置环境变量
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
三、查看是否安装成功