go安装goctl

一、设置环境变量

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

三、查看是否安装成功

posted @ 2021-05-10 13:52  hziwei  阅读(4436)  评论(0编辑  收藏  举报