hertz_scaffold/README.md
2024-08-09 15:11:53 +08:00

764 B

简介

以golib.gaore.com/GaoreGo/hertz_demo为模板的hertz框架脚手架

安装:

go install golib.gaore.com/GaoreGo/hertz_scaffold@latest

命令行参数:

create      创建一个新项目
help        Help about any command
update      更新项目

Usage:
    hertz_scaffold create [flags]
    hertz_scaffold update [flags]

Flags:
-h, --help             help for create
-p, --project string   项目名称
-t, --tag string       指定tag (不指定默认拉取master)

创建项目:

hertz_scaffold create -p hertz.gaore.com

更新项目(注意,更新项目会覆盖本地项目,请谨慎操作):

hertz_scaffold update -p hertz.gaore.com -t 1.0.0