Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: Add matching case for nil uuid column
Schemagen generates structs as [16]byte for uuid and timeuuid columns. when a time/uuid column has nil value, the switch case will not match with *[]byte and returns the following error: `can not unmarshal X timeuuid into *[16]uint8` to solve this we can change Schemagen, or add the case here. personally I belive changing Schemagen has more cost and mapping UUIDs to [16]byte is better than mapping to []byte.
- Loading branch information