Go-dbd-sqlite is a project mainly written in ..., it's free.
sqlite driver implementation for go-dbi
go-dbd-sqlite is an sqlite driver implementation for go-dbi, a database interface for the Go programming language.
WARNING: THIS IS PRE-ALPHA SOFTWARE
Pre-Alpha.
This package provides an sqlite driver for go-dbi. For more information about go-dbi, please check out the go-dbi project on github.
Alternatively, you can clone the git repository & build it using make.
NOTE: goinstall does not currently support google code / Mercurial repositories. This step may need to be performed manually.
package main
import (
dbi "github.com/thomaslee/go-dbi"
_ "github.com/thomaslee/go-dbd-sqlite"
"log"
)
func main() {
conn, err := dbi.Connect("sqlite://./foo.db")
if err != nil {
log.Printf("error: unable to connect to the database: %s", err.String())
}
defer conn.Close()
}
This software is licensed under the terms of the MIT License.
Please log defects and feature requests using the issue tracker on github.
go-dbd-sqlite was written by Tom Lee.
Follow me on Twitter or LinkedIn.