A library to handle table-based data generically.
- Unification of ambiguous names like
left/right
- Goroutine safe
- GetRows returns iterator
- Go 1.12 or higher. We aim to support the 3 latest versions of Go.
Simple install the package to your $GOPATH with the go tool from shell:
$ go get -u github.com/go-tamate/tamate
Make sure Git is installed on your machine and in your system's PATH
.
Tamate Driver is an implementation of tamate/driver
interface.
Use csv
as driverName
and a valid DSN as dataSourceName
:
import "github.com/go-tamate/tamate"
import _ "github.com/go-tamate/tamate-csv"
ds, err := tamate.Open("csv", "./")
DataSource represents the connection destination where table-based data supported by Tamate.
Use this to Get
, Set
, GettingDiff
, etc.
DSN is not only common format such as used in database/sql
.
Please refer to the usage of the driver to use.
Please execute the following command at the root of the project
go test ./...
- MIT
- see LICENSE