2 Star 0 Fork 340

hxchjm / go-zero

forked from kevwan / go-zero 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
upgrade.go 348 Bytes
一键复制 编辑 原始数据 按行查看 历史
kingxt 提交于 2021-01-11 15:10 . feature: refactor api parse to g4 (#365)
package upgrade
import (
"fmt"
"github.com/tal-tech/go-zero/tools/goctl/rpc/execx"
"github.com/urfave/cli"
)
func Upgrade(_ *cli.Context) error {
info, err := execx.Run("GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go get -u github.com/tal-tech/go-zero/tools/goctl", "")
if err != nil {
return err
}
fmt.Print(info)
return nil
}
Go
1
https://gitee.com/hxchjm/go-zero.git
git@gitee.com:hxchjm/go-zero.git
hxchjm
go-zero
go-zero
3eb88c4e4bf1

搜索帮助