-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
goctl specifications and recommendations #3805
Comments
@sunviv 看我fork的一个版本,我目前都去掉了这些, |
Thanks for the feedback. In the early, goctl was developed by multiple people, each with the same hobby. At first, everyone focused on solving problems. When these problems were discovered, it was too late to modify them. |
And how to modify the file name generated by goctl? |
@kesonan 有打算给types支持分组的计划嘛 |
@kesonan Do you have any plans to support grouping for types? |
There is no plan support, the API does not have the concept of packages, grouping will bring negative effects and duplicate code |
@sunviv go-sh@9da3b68 You can try this branch |
Could you unify the usage specifications of the goctl?
goctl model mysql ddl --src user.sql --dir .
goctl api go --api user.api --dir .
Why not change the input files to --src and the output files to --dir
It is recommended to add the function of modifying the generated file name
In the logic directory, I don't want the generated filenames to contain '_logic'.
The text was updated successfully, but these errors were encountered: