strictly speaking I tried to use the driver provided uuid type however the tooling I'm using can't compile use the datatype due to cgo usage. it'd be nice if the datatypes were in their own pure go package and operated on raw binary.
pgtype by jackc is a wonderful example of a phenomenal database.Value library.
when passing a sql.NullString to the driver for a uuid field we get a string of the literal uuid bytes instead of the uuid string format.
strictly speaking I tried to use the driver provided uuid type however the tooling I'm using can't compile use the datatype due to cgo usage. it'd be nice if the datatypes were in their own pure go package and operated on raw binary.
pgtype by jackc is a wonderful example of a phenomenal database.Value library.