This Go package provides additional types for PostgreSQL:
Int32Array
forint[]
(compatible withintarray
module);StringArray
forvarchar[]
.JSONText
forvarchar
,text
,json
andjsonb
.PostGISPoint
,PostGISBox2D
andPostGISPolygon
.
Install it: go get github.com/mc2soft/pq-types