Skip to content

How can i ignore code generation for a particular field only ? #49

@ymolists

Description

@ymolists

Thank you so much for writing this utility !

I have a field in my struct that is transient. Meaning it gets generated from random values. I don't want to use that field for equality. Is there a way i can force code generation to ignore a certain field in a struct ? ala autogold:"omitfield"

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions