Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开发代码生成工具,gormgen 和 handlergen #11

Closed
xinliangnote opened this issue Feb 21, 2021 · 1 comment
Closed

开发代码生成工具,gormgen 和 handlergen #11

xinliangnote opened this issue Feb 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@xinliangnote
Copy link
Owner

xinliangnote commented Feb 21, 2021

1. gormgen,基于 gorm 生成数据表的 curd 代码

例如:

  • Save
  • Delete
  • QueryOne、QueryAll、Count
  • Limit、Offset
  • Where
  • ...

2. handlergen,根据 type interface 中的方法名,以每个方法生成一个文件。

@xinliangnote xinliangnote changed the title 开发代码生成工具,生成基于 gorm 的 CURD 代码 开发代码生成工具,gormgen 和 handlergen Feb 26, 2021
xinliangnote added a commit that referenced this issue Feb 27, 2021
@xinliangnote
Copy link
Owner Author

xinliangnote added a commit that referenced this issue Feb 28, 2021
xinliangnote added a commit that referenced this issue Feb 28, 2021
@xinliangnote xinliangnote added the enhancement New feature or request label Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant