diff options
author | Philip O'Toole <philip.otoole@yahoo.com> | 2016-02-23 01:18:14 -0500 |
---|---|---|
committer | Philip O'Toole <philip.otoole@yahoo.com> | 2016-02-23 01:18:14 -0500 |
commit | 3e97a4ca68500045276a2ba7051740bd53e40d06 (patch) | |
tree | d984cc8023dffd95fd37fc6ed293ba80f973592a /README.md | |
parent | Merge pull request #134 from antoine-lizee/patch-1 (diff) | |
parent | Merge pull request #267 from ianlancetaylor/go16 (diff) | |
download | golite-3e97a4ca68500045276a2ba7051740bd53e40d06.tar.gz golite-3e97a4ca68500045276a2ba7051740bd53e40d06.tar.xz |
Merge pull request #1 from mattn/master
Bring master up-to-date
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) |