Skip to content

Add require field tag  #36

@NilsJPWerner

Description

@NilsJPWerner

It would be fantastic if this library had the option to set a struct field as required. Then when defaults.Set is called on a struct with zero value fields that are marked as required the function returns an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions