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

What is use-field-name about? #23

Closed
mitar opened this issue Jan 28, 2024 · 1 comment
Closed

What is use-field-name about? #23

mitar opened this issue Jan 28, 2024 · 1 comment
Labels
question Further information is requested

Comments

@mitar
Copy link

mitar commented Jan 28, 2024

I see it in configuration, but I do not find it in code? What does it do? golang-lint says that by default is false but I can make it true?

@mitar
Copy link
Author

mitar commented Jan 28, 2024

I found it. So without it the struct tag just has to match the expected syntax, with it set to true it has to mach the field name. Awesome.

@mitar mitar closed this as completed Jan 28, 2024
@ldez ldez added the question Further information is requested label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants