sqlite3 driver for go using database/sql
Go to file
mattn f7461000f1 Merge pull request #63 from wei2912/patch-1
Fix multiple commands
2013-06-18 03:41:30 -07:00
example add example code using bulk insert. 2012-12-26 09:53:22 +09:00
.travis.yml Add goveralls for travis 2013-06-11 20:08:24 +09:00
README.mkd Fix multiple commands 2013-06-18 17:54:06 +08:00
sqlite3.go go fmt 2013-05-11 21:45:48 +09:00
sqlite3.h Modified for windows support. 2012-10-27 19:58:40 -07:00
sqlite3_other.go Modified for windows support. 2012-10-27 19:58:40 -07:00
sqlite3_test.go go fmt 2013-05-11 21:45:48 +09:00
sqlite3_windows.c Modified for windows support. 2012-10-27 19:58:40 -07:00
sqlite3_windows.go Modified for windows support. 2012-10-27 19:58:40 -07:00
sqlite3ext.h Modified for windows support. 2012-10-27 19:58:40 -07:00

README.mkd

go-sqlite3

Build Status

DESCRIPTION

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

INSTALLATION

It requires pkg-config. You can also confirm that permissions and dependancies are setup by running pkg-config --cflags --libs sqlite3.

If you are using Homebrew on Mac OS X, you can install with:

brew install pkgconfig
brew install sqlite3

If you are using Ubuntu, you can install with:

sudo apt-get install pkg-config sqlite3 libsqlite3-dev

If you are using Windows, you can get pkg-config from below.

http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/

Go does not support static linking for external C library; sqlite3 should be built as a shared library. If it runs on Windows, it needs dll.

Finally, this package can be installed with the go get command:

go get github.com/mattn/go-sqlite3

FAQ

LICENSE

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