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

gen dao entity json tag include f_ prefix even have set removeFieldPrefix f_ in config.yaml #4113

Open
zj519718645 opened this issue Jan 13, 2025 · 1 comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.

Comments

@zj519718645
Copy link

Go version

1.23

GoFrame version

2.8.3

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

I already set removeFieldPrefix: f_ in hack/config.yaml and then I run command 'gf gen dao'

What did you see happen?

the json tag inlucde f prefix in each entity struct field

What did you expect to see?

I want jsontag have no f prefix in entity struct field

@zj519718645 zj519718645 added the bug It is confirmed a bug, but don't worry, we'll handle it. label Jan 13, 2025
@Neptune-Krimy
Copy link

Please show me your struct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It is confirmed a bug, but don't worry, we'll handle it.
Projects
None yet
Development

No branches or pull requests

2 participants