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

Inconsistency with goctl templates. #4163

Open
fuckqqcom opened this issue May 25, 2024 · 1 comment
Open

Inconsistency with goctl templates. #4163

fuckqqcom opened this issue May 25, 2024 · 1 comment
Labels
answered Marks an issue as answered

Comments

@fuckqqcom
Copy link

fuckqqcom commented May 25, 2024

goctl工具很方便,但是模版里面很多地方不统一

1:model里面
image
在这块可以在生成名字后加上model
2:rpc里面
image
也是如此,加上了server
3:api里面
image
但是在api中handler和logic中就直接把 handler和logic写死了,

给人感觉各种风格不统一

其次是:
文件实在logic和handler下面了,文件名后面还加一个logic和handler,就感觉是非要在强调一次的感觉。

希望这些都可以在模版中配置吧。灵活度也高。自己配置成统一风格

@kevwan kevwan changed the title 模版各处不统一 Inconsistency with goctl templates. May 26, 2024
@kesonan
Copy link
Collaborator

kesonan commented May 26, 2024

Thank you for your feedback. At present, the template has become stable. Major changes are not recommended for the time being without affecting the use of functions.

@kesonan kesonan added the answered Marks an issue as answered label May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Marks an issue as answered
Projects
None yet
Development

No branches or pull requests

2 participants