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

Detect non-functional omitempty #4

Open
mitranim opened this issue Sep 23, 2021 · 0 comments
Open

Detect non-functional omitempty #4

mitranim opened this issue Sep 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mitranim
Copy link

omitempty has no effect on fields whose type is a struct. Neither the language nor go vet bother to warn about useless omitempty, leading to surprises. Perhaps tagliatelle should support this check?

@ldez ldez added wontfix This will not be worked on enhancement New feature or request and removed wontfix This will not be worked on labels Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants