hertz_scaffold/README.md

29 lines
764 B
Markdown
Raw Permalink Normal View History

2024-08-08 21:29:58 +08:00
#### 简介
以golib.gaore.com/GaoreGo/hertz_demo为模板的hertz框架脚手架
2024-07-18 16:27:25 +08:00
2024-08-08 21:29:58 +08:00
#### 安装:
2024-08-09 14:57:41 +08:00
go install golib.gaore.com/GaoreGo/hertz_scaffold@latest
2024-08-08 21:29:58 +08:00
#### 命令行参数:
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 项目名称
2024-08-09 15:03:09 +08:00
-t, --tag string 指定tag (不指定默认拉取master)
2024-08-08 21:29:58 +08:00
#### 创建项目:
hertz_scaffold create -p hertz.gaore.com
2024-08-09 15:11:53 +08:00
#### 更新项目(注意,更新项目会覆盖本地项目,请谨慎操作):
2024-08-09 15:03:09 +08:00
hertz_scaffold update -p hertz.gaore.com -t 1.0.0
2024-08-08 21:29:58 +08:00