sqlite3 driver for go using database/sql http://mattn.github.io/go-sqlite3

David Anderson 122ddb16de Move argument converters to callback.go, and optimize return value handling. 3 years ago
_example 94efba9292 remove duplicated Close 3 years ago
code ee9da4840d hack to use libsqlite3 4 years ago
sqlite3_test cf8fa0af80 Implement support for passing Go functions as custom functions to SQLite. 3 years ago
.gitignore acf1dd667b add .gitignore 4 years ago
.travis.yml 239461c8b7 go cover has moved 4 years ago
LICENSE 592f5d512e Add LICENSE file 4 years ago
README.md 715f5e5de0 added icu extension support 3 years ago
backup.go 3d6c6f9345 Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 4 years ago
callback.go 122ddb16de Move argument converters to callback.go, and optimize return value handling. 3 years ago
callback_test.go 122ddb16de Move argument converters to callback.go, and optimize return value handling. 3 years ago
doc.go cf8fa0af80 Implement support for passing Go functions as custom functions to SQLite. 3 years ago
error.go 6535341da9 Add one blank line for godoc 4 years ago
error_test.go a528a30852 Add test for ErrNo.Extend() 4 years ago
sqlite3-binding.c ee9da4840d hack to use libsqlite3 4 years ago
sqlite3-binding.h ee9da4840d hack to use libsqlite3 4 years ago
sqlite3.go 122ddb16de Move argument converters to callback.go, and optimize return value handling. 3 years ago
sqlite3_fts3_test.go da2bf8a0f3 Add FTS3 feature. Close #176 4 years ago
sqlite3_icu.go 715f5e5de0 added icu extension support 3 years ago
sqlite3_libsqlite3.go ee9da4840d hack to use libsqlite3 4 years ago
sqlite3_other.go 542ae647f8 remove -lpthread. related issue #201 4 years ago
sqlite3_test.go 122ddb16de Move argument converters to callback.go, and optimize return value handling. 3 years ago
sqlite3_windows.go 308067797b Apply -lpthread withou windows. 4 years ago

README.md

go-sqlite3

Build Status Coverage Status

Description

sqlite3 driver conforming to the built-in database/sql interface

Installation

This package can be installed with the go get command:

go get github.com/mattn/go-sqlite3

Documentation

API documentation can be found here: http://godoc.org/github.com/mattn/go-sqlite3

Examples can be found under the ./_example directory

FAQ

  • Want to build go-sqlite3 with libsqlite3 on my linux.

    Use go build --tags "libsqlite3 linux"

  • Want to build go-sqlite3 with icu extension.

Use go build --tags "icu"

License

MIT: http://mattn.mit-license.org/2012

sqlite3-binding.c, sqlite3-binding.h, sqlite3ext.h

The -binding suffix was added to avoid build failures under gccgo.

In this repository, those files are amalgamation code that copied from SQLite3. The license of those codes are depend on the license of SQLite3.

Author

Yasuhiro Matsumoto (a.k.a mattn)