Skip to content

sqlc-dev/pqtype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Reference go

pqtype

pqtype implements Go types for PostgreSQL types when using the lib/pq driver.

Compatibility

pqtype is tested against PostgreSQL 9.6 through 13 and Go 1.13 through 1.17. While these types may work with other drivers, they are only tested against the lib/pq driver.

History

pqtype is a fork of jackc/pgtype with all the pgx-specific code removed. The Status field on types has been replaced with a Valid boolean to mirror the standard library sql.Null* types.