sqlite3 driver for go using database/sql
Go to file
Stéphane Graber 3d6c6f9345 Rename sqlite3.{c,h} to sqlite3-binding.{c,h}
This fixes the problem where when building with gccgo, sqlite3.c is
overwritten, leading to a build failure.

An alternative would have been to move sqlite3*.{c,h} to a subdirectory,
but that seems to confuse the linker a fair bit and would just swap one
implementation-dependent issue for another.

Closes #20

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2015-03-11 16:19:50 -04:00
_example Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
sqlite3_test Rename 2014-07-04 10:25:27 +09:00
.gitignore add .gitignore 2014-11-14 17:20:14 +09:00
.travis.yml go cover has moved 2014-11-14 00:23:32 +01:00
LICENSE Add LICENSE file 2014-08-18 16:52:12 +09:00
README.md Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
backup.go Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
doc.go Remove license header from doc.go because it appear in godoc 2014-08-18 16:58:14 +09:00
error.go Add one blank line for godoc 2014-08-18 17:00:59 +09:00
error_test.go Add test for ErrNo.Extend() 2015-01-26 18:38:13 +09:00
sqlite3-binding.c Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
sqlite3-binding.h Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
sqlite3.go Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00
sqlite3_fts3_test.go Add FTS3 feature. Close #176 2015-02-24 11:28:02 +09:00
sqlite3_other.go Specify by -D 2014-10-22 13:31:54 +09:00
sqlite3_test.go Fix test 2015-03-05 12:39:44 +09:00
sqlite3_windows.go Add FTS3 feature. Close #176 2015-02-24 11:28:02 +09:00
sqlite3ext.h Rename sqlite3.{c,h} to sqlite3-binding.{c,h} 2015-03-11 16:19:50 -04:00

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

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)