Skip to content

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

Open
zhang5788/gf
#1
@zj519718645

Description

@zj519718645

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt is confirmed a bug, but don't worry, we'll handle it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions