Skip to content

Commit

Permalink
Merge pull request #235 from izenhaim/patch-1
Browse files Browse the repository at this point in the history
Bug fix: Add matching case for unmarshalling nil uuid column
  • Loading branch information
dkropachev authored Aug 20, 2024
2 parents f9e730e + e47a73b commit 00277be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -1865,6 +1865,8 @@ func unmarshalUUID(info TypeInfo, data []byte, value interface{}) error {
*v = ""
case *[]byte:
*v = nil
case *[16]byte:
*v = [16]byte{}
case *UUID:
*v = UUID{}
default:
Expand Down

0 comments on commit 00277be

Please sign in to comment.