Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jin-gou committed Dec 10, 2023
1 parent 4bcf4fa commit 85cdd63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ You can enter the example for information about "How to run"
- [hz/hz_client:](hz/hz_client) Example of using hz to generate client code
- [hz/template:](hz/template) Example of using hz custom templates to generate server code
- [hz/plugin:](hz/plugin) Example of using hz to access third-party plugins
- [hz/struct_reuse:](hz/struct_reuse) Example of using hz to use kitex_gen as hertz model

## Note

Expand Down
2 changes: 2 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
- [hz/hz_client:](hz/hz_client) 使用 hz 生成客户端代码的示例
- [hz/template:](hz/template) 使用 hz 自定义模版生成服务端代码的示例
- [hz/plugin:](hz/plugin) 使用 hz 接入第三方插件的示例
- [hz/struct_reuse:](hz/struct_reuse) 使用 hz 与 kitex_gen 作为 hertz model 的代码示例


## Note

Expand Down
2 changes: 1 addition & 1 deletion hz/struct_reuse/protobuf_reuse/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ hz_model:
# 使用 hz_model 去覆盖 kitex_model,
# 注意:
# 1.所有 proto 中 go_package 的定义必须是这种形式 "{GOMOD}/kitex_gen/***" 其中gomod为项目的 go module 名
# 2. hz 的命令必须加 --model_dir=kitex_gen,才能正确覆盖 kitex_modle
# 2. hz 的命令必须加 --model_dir=kitex_gen,才能正确覆盖 kitex_module
# 3. 目前 hz无法生成 kitex 需要的接口信息,需要进一步对齐

0 comments on commit 85cdd63

Please sign in to comment.