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

Feature Request: regex based modification #83

Open
kokizzu opened this issue Aug 21, 2021 · 0 comments
Open

Feature Request: regex based modification #83

kokizzu opened this issue Aug 21, 2021 · 0 comments

Comments

@kokizzu
Copy link

kokizzu commented Aug 21, 2021

for example:

gomodifytags bla.go -w -field-regex '.*Id' -add-options json=string
gomodifytags bla.go -w -field-regex '.*At' -add-options json=string

those will modify only fields that ends with Id or At

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

No branches or pull requests

1 participant