Package influxdbiox
is the official Go client for InfluxDB/IOx.
InfluxDB/IOx uses Arrow Flight gRPC for queries. This client makes it easy to use that interface.
Take a look at the godoc for usage.
Package ioxsql
contains an implementation of the database/sql
driver interface.
This project does not run tests as part of CI. Most tests depend on a running instance of InfluxDB/IOx, and each creates its own database. To start an in-memory instance, from the InfluxDB/IOx repository root:
$ cargo build
$ ./target/debug/influxdb_iox run all-in-one
Then run the tests like any golang test:
$ go test ./...