Handling NULL values with database/sql and Go
Handle SQL NULL values in Go with database/sql, sql.NullString and sql.NullFloat64, with a complete PostgreSQL example.
Short code examples.
Handle SQL NULL values in Go with database/sql, sql.NullString and sql.NullFloat64, with a complete PostgreSQL example.