Golang SQLCipher driver conforming to the built-in database/sql interface and using the latest sqlite3 code.
Go to file
Nahum Shalman ae251919bd set CFLAGS: -std=gnu99
Fixes the following error message on SmartOS:

$ go get github.com/mattn/go-sqlite3
In file included from /usr/include/stdio.h:37:0,
                 from go/src/github.com/mattn/go-sqlite3/sqlite3.c:8422:
/opt/local/gcc47/lib/gcc/i386-sun-solaris2.11/4.7.3/include-fixed/sys/feature_tests.h:366:2: error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications  require the use of c99"
2014-12-18 17:16:42 -05:00
_example Update simple.go (very small change) 2014-07-29 11:46:30 -07: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 Update README.md 2014-11-14 19:50:39 +09:00
backup.go Backup.Step may handle SQLITE_BUSY / SQLITE_LOCKED specifically. Close #133 2014-11-14 19:37:23 +09: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 one blank line for godoc 2014-08-18 17:00:59 +09:00
sqlite3.c Update SQLite amalgamation to 3.8.7.4. 2014-12-11 14:15:49 -08:00
sqlite3.go set CFLAGS: -std=gnu99 2014-12-18 17:16:42 -05:00
sqlite3.h Update SQLite amalgamation to 3.8.7.4. 2014-12-11 14:15:49 -08:00
sqlite3_other.go Specify by -D 2014-10-22 13:31:54 +09:00
sqlite3_test.go Fix for sqlite3_test import. 2014-08-20 16:13:15 +02:00
sqlite3_windows.go Should affect on only 386 2014-10-24 19:38:05 +09:00
sqlite3ext.h Update SQLite amalgamation to 3.8.7.4. 2014-12-11 14:15:49 -08: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

sqlite.c, sqlite3.h, sqlite3ext.h

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)