diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 37 |
1 files changed, 35 insertions, 2 deletions
@@ -1,8 +1,9 @@ go-sqlite3 ========== -[](https://travis-ci.org/mattn/go-sqlite3) -[](https://coveralls.io/r/mattn/go-sqlite3?branch=master) +[](https://travis-ci.org/mattn/go-sqlite3) +[](https://coveralls.io/r/mattn/go-sqlite3?branch=master) +[](http://godoc.org/github.com/mattn/go-sqlite3) Description ----------- @@ -16,6 +17,10 @@ This package can be installed with the go get command: go get github.com/mattn/go-sqlite3 +_go-sqlite3_ is *cgo* package. +If you want to build your app using go-sqlite3, you need gcc. +However, if you install _go-sqlite3_ with `go install github.com/mattn/go-sqlite3`, you don't need gcc to build your app anymore. + Documentation ------------- @@ -26,6 +31,14 @@ 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"` + * Can't build go-sqlite3 on windows 64bit. > Probably, you are using go 1.0, go1.0 has a problem when it comes to compiling/linking on windows 64bit. @@ -36,7 +49,27 @@ FAQ > You can pass some arguments into the connection string, for example, a URI. > See: https://github.com/mattn/go-sqlite3/issues/39 +* Do you want cross compiling? mingw on Linux or Mac? + + > See: https://github.com/mattn/go-sqlite3/issues/106 + > See also: http://www.limitlessfx.com/cross-compile-golang-app-for-windows-from-linux.html + +* Want to get time.Time with current locale + + Use `loc=auto` in SQLite3 filename schema like `file:foo.db?loc=auto`. + 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) |