由于go-zero需要自己的控制操作指令 goctl
rpc、api模块的设计需要goctl去生成
brew install go1.2 安装 protobuf
brew install protobuf1.3 安装 goland
只需要安装一个插件:goctl
go-zero 官方文档:https://go-zero.dev/cn/intellij.html
生成 rpc
生成 api
如果没有科学上网
如果发现 go mod、go get 指令一致报错 timeout 就使用国内go代理
go env -w GOPROXY=https://goproxy.cn,direct



