Skip to content

Conversation

@tangqiu0205
Copy link

@tangqiu0205 tangqiu0205 commented Apr 25, 2025

Description (what this PR does / why we need it):

  • 新增自定义模板文件路径参数
  • 实现模板加载函数,支持从文件或使用默认模板- 修改服务生成逻辑,支持自定义模板

Which issue(s) this PR fixes (resolves / be part of):

Other special notes for the reviewers:

用法: kratos proto server api/xxx.proto --target-dir=internal/service --template-file=你的模板文件路径

- 新增自定义模板文件路径参数
- 实现模板加载函数,支持从文件或使用默认模板- 修改服务生成逻辑,支持自定义模板
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 25, 2025
@tangqiu0205 tangqiu0205 changed the title feat(proto): 为 proto server生成添加自定义模板支持 feat(server): 为 proto server生成添加自定义模板支持 May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant