Skip to content

Detect non-functional omitempty #4

@mitranim

Description

@mitranim

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions