Skip to content

Conversation

chrisseto
Copy link

Prior to this commit, defaultifempty would not appropriately detect
the "emptiness" of struct types nor non-zero length array types.
This was notable for nullable types when used as values, such as
sql.NullString, and gofrs/uuid, which is defined as [16]byte,
respectively.

    Prior to this commit, defaultifempty would not appropriately detect
    the "emptiness" of struct types nor non-zero length array types.
    This was notable for nullable types when used as values, such as
    sql.NullString, and gofrs/uuid, which is defined as [16]byte,
    respectively.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant