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

[BUG] gf gen ctrl cannot exclude the structure definition annotated in api #2839

Closed
alaywn opened this issue Aug 4, 2023 · 2 comments
Closed
Labels
enhancement help wanted planned This issue/proposal is planned into our next steps.

Comments

@alaywn
Copy link
Contributor

alaywn commented Aug 4, 2023

1. What version of Go and system type/arch are you using?

go version go1.20.6 darwin/arm64

2. What version of GoFrame are you using?

GoFrame CLI Tool v2.5.1, https://goframe.org
GoFrame Version: v2.5.1 in current go.mod
CLI Installed At: /opt/homebrew/bin/gf
CLI Built Detail:
Go Version: go1.20.4
GF Version: v2.5.1
Git Commit: 2023-07-26 21:27:58 e0e0043
Build Time: 2023-07-26 21:32:56

3. Can this issue be re-produced with the latest release?

YES

4. What did you do?

注释了api中定义的结构体,然后运行gf gen ctrl,结果被注释的结构体,仍然生成的controller

5. What did you expect to see?

希望gf gen ctrl执行时排除api中注释的结构体定义

6. What did you see instead?

@Issues-translate-bot Issues-translate-bot changed the title [BUG]gf gen ctrl无法排除api中注释的结构体定义 [BUG] gf gen ctrl cannot exclude the structure definition annotated in api Aug 4, 2023
@gqcn gqcn added enhancement help wanted planned This issue/proposal is planned into our next steps. labels Oct 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2023

Hello @alaywn. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it!
你好 @alaywn。我们喜欢您的提案/反馈,并希望您或其他社区成员通过拉取请求做出贡献。我们提前感谢您的贡献,并期待对其进行审查。

@oldme-git
Copy link
Member

Please show #3067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted planned This issue/proposal is planned into our next steps.
Projects
None yet
Development

No branches or pull requests

3 participants