Go

Connect to CrateDB from Go applications.

The pgx and pq packages have been validated with CrateDB. pq is in maintenance mode, so their authors recommend using pgx which is under active development.

The KSQL package is a convenience wrapper that also uses the pgx library to connect to CrateDB.

Overview

  pgx

pgx is a pure Go driver and toolkit for PostgreSQL.

pgx for Go
  pq

pq is a pure Go PostgreSQL driver for Go’s database/sql package.

pq for Go
  KSQL

KSQL, the Keep it Simple SQL library.

KSQL for Go