Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/herenow/go-crate

Golang Sql Driver for Crate Data Storage. (https://crate.io/)
https://github.com/herenow/go-crate

crate-data-storage go golang-sql-driver

Last synced: 20 days ago
JSON representation

Golang Sql Driver for Crate Data Storage. (https://crate.io/)

Awesome Lists containing this project

README

        

go-crate
========

[![CircleCI](https://circleci.com/gh/herenow/go-crate.svg?style=svg)](https://circleci.com/gh/herenow/go-crate)

Golang Sql Driver for Crate Data Storage. (https://crate.io/)

[http://godoc.org/github.com/herenow/go-crate](http://godoc.org/github.com/herenow/go-crate)

[http://golang.org/pkg/database/sql/](http://golang.org/pkg/database/sql/)

Install & Usage
--------
```
go get github.com/herenow/go-crate
```

```golang
import "database/sql"
import _ "github.com/herenow/go-crate"

db, err := sql.Open("crate", "http://localhost:4200/")
```

Not Supported SQL Functions
------

Some functions of the `database/sql` package may not be supported, due to a lack of support of Crate or this package.
`Transactions` are not supported by crate.

Notes
-----
* Feel free to send in contributions to this package.

TODO
-----
* Possible type checking when receving data from crate, and convert it to documented Go types.