sqlc-dev / pqtype

Go types for PostgreSQL types when using lib/pq

Home Page:https://pkg.go.dev/github.com/sqlc-dev/pqtype

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Go types for PostgreSQL types when using lib/pq

https://pkg.go.dev/github.com/sqlc-dev/pqtype

License:MIT License


Languages

Language:Go 100.0%