Minho 6cb3dbede5 添加依赖包 il y a 8 ans
..
_example c15b356758 改用glide做包管理工具 il y a 8 ans
sqlite3_test c15b356758 改用glide做包管理工具 il y a 8 ans
.gitignore 6cb3dbede5 添加依赖包 il y a 8 ans
.travis.yml 6cb3dbede5 添加依赖包 il y a 8 ans
LICENSE 6cb3dbede5 添加依赖包 il y a 8 ans
README.md 6cb3dbede5 添加依赖包 il y a 8 ans
backup.go 6cb3dbede5 添加依赖包 il y a 8 ans
callback.go 6cb3dbede5 添加依赖包 il y a 8 ans
callback_test.go c15b356758 改用glide做包管理工具 il y a 8 ans
doc.go 6cb3dbede5 添加依赖包 il y a 8 ans
error.go 6cb3dbede5 添加依赖包 il y a 8 ans
error_test.go c15b356758 改用glide做包管理工具 il y a 8 ans
sqlite3-binding.c 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3-binding.h 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_fts3_test.go c15b356758 改用glide做包管理工具 il y a 8 ans
sqlite3_fts5.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_icu.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_json1.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_libsqlite3.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_load_extension.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_omit_load_extension.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_other.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3_test.go c15b356758 改用glide做包管理工具 il y a 8 ans
sqlite3_windows.go 6cb3dbede5 添加依赖包 il y a 8 ans
sqlite3ext.h 6cb3dbede5 添加依赖包 il y a 8 ans

README.md

go-sqlite3

Build Status Coverage Status GoDoc

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

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

API documentation can be found here: http://godoc.org/github.com/mattn/go-sqlite3

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 libsqlite3 on OS X.

    Install sqlite3 from homebrew: brew install sqlite3 Use go build --tags "libsqlite3 darwin"

  • Want to build go-sqlite3 with icu extension.

Use go build --tags "icu"

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 an amalgamation of code that was copied from SQLite3. The license of that code is the same as the license of SQLite3.

Author

Yasuhiro Matsumoto (a.k.a mattn)