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

cmd/gf: use automatic generating package names for go files of dao/do/entity instead of constant package names #3618

Closed
wants to merge 5 commits into from

Conversation

Insua
Copy link
Contributor

@Insua Insua commented May 30, 2024

When employing the CLI to instantiate the generation of dao, one customarily specifies parameters such as daoPath, doPath, and entityPath. These parameters determine the file paths for the generated Go files, while the package names default to dao, do, and entity. To address this, an additional configuration parameter, withPathPackage, has been introduced. If withPathPackage is set to true, the package names will be defined according to the respective paths specified by daoPath, doPath, and entityPath.

@gqcn gqcn changed the title cmd/gf:add custom gen dao package name cmd/gf: use automatically generating the package names for go files of dao/do/entity instead of constant package names May 30, 2024
@gqcn gqcn changed the title cmd/gf: use automatically generating the package names for go files of dao/do/entity instead of constant package names cmd/gf: use automatically generatin package names for go files of dao/do/entity instead of constant package names May 30, 2024
@gqcn gqcn changed the title cmd/gf: use automatically generatin package names for go files of dao/do/entity instead of constant package names cmd/gf: use automatically generating package names for go files of dao/do/entity instead of constant package names May 30, 2024
@gqcn gqcn changed the title cmd/gf: use automatically generating package names for go files of dao/do/entity instead of constant package names cmd/gf: use automatic generating package names for go files of dao/do/entity instead of constant package names May 30, 2024
@Insua
Copy link
Contributor Author

Insua commented Jun 12, 2024

这个我也关了吧,有多个commit,我重新提交一下pr

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I'll turn this off too. There are multiple commits. I'll resubmit the pr.

@Insua
Copy link
Contributor Author

Insua commented Jun 12, 2024

I closed this PR. It has multiple commits. Just use a new PR.

这个pr我关闭了,这个也有多次commit,用新的pr吧
#3639

@Insua Insua closed this Jun 12, 2024
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

Successfully merging this pull request may close these issues.

3 participants