News for hackers. Stuff that matters.
Re:Null Values in SQL Queries by uncanny on Tuesday February 04, 2020 @08:18PM (#22243093)
You can use a type that marshals the Go zero value to database null and vice versa. https://godoc.org/github.com/jackc/pgtype/zeronull provides a UUID type with that behavior.

There are no comments on this comment yet.