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

建议:调整生成的代码的位置。 #11

Open
kotlin2018 opened this issue Mar 15, 2021 · 0 comments
Open

建议:调整生成的代码的位置。 #11

kotlin2018 opened this issue Mar 15, 2021 · 0 comments

Comments

@kotlin2018
Copy link

建议调整生成的代码的位置
即:
entity 目录下,只放与实体相关的代码,即:请求参数,响应数据之类的实体。
model 目录下,只放与数据库相关的代码,即:init.go,config.go,数据库表的model,CURD代码。
我决得只保留这两个包比较好。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant