regorov / pq-types

Go package providing additional types for PostgreSQL: int, bigint and string arrays (former is compatible with intarray module), json and jsonb values, few PostGIS types.

Home Page:https://godoc.org/github.com/mc2soft/pq-types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pq-types Build Status GoDoc

This Go package provides additional types for PostgreSQL:

  • Int32Array for int[] (compatible with intarray module);
  • Int64Array for bigint[];
  • StringArray for varchar[];
  • JSONText for varchar, text, json and jsonb;
  • PostGISPoint, PostGISBox2D and PostGISPolygon.

Install it: go get github.com/mc2soft/pq-types

About

Go package providing additional types for PostgreSQL: int, bigint and string arrays (former is compatible with intarray module), json and jsonb values, few PostGIS types.

https://godoc.org/github.com/mc2soft/pq-types

License:MIT License


Languages

Language:Go 100.0%