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

gf gen ctrl multi-configuration #3725

Closed
swift-fs opened this issue Aug 14, 2024 · 0 comments
Closed

gf gen ctrl multi-configuration #3725

swift-fs opened this issue Aug 14, 2024 · 0 comments

Comments

@swift-fs
Copy link
Contributor

swift-fs commented Aug 14, 2024

Is your feature request related to a problem?

Option Yes

Describe the solution you'd like

就是能否支持gen ctrl的配置项可选为数组呀

 ctrl:
      - srcFolder: "api/api/business"
        dstFolder: "internal/controller/api"
        clear: true
        merge: false
      - srcFolder: "api/api/abcd"
        dstFolder: "internal/controller/abcd"
        clear: false
        merge: true

我现在是因为老项目升级过来的,又想用工具生成控制器代码,原来的api目录已经划分好了,然后没有这种多选项的话,我基本要gf gen ctrl --options这样搞个三四次,要是能配置成数组的话,就很nice

Describe alternatives you've considered

如上描述

Additional

No response

@Issues-translate-bot Issues-translate-bot changed the title gf gen ctrl多配置 gf gen ctrl multi-configuration Aug 14, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant