aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2017-05-29 23:59:28 +0900
committerGitHub <noreply@github.com>2017-05-29 23:59:28 +0900
commit83772a7051f5e30d8e59746a9e43dfa706b72f3b (patch)
treecd346db24135b53b57e052b6b1c5e80e2c108072
parentMerge pull request #409 from kenshaw/add-vtable-insert-update-delete-unit-test (diff)
parentUse "sqlite3" instead of "sqlite" in usage example. (diff)
downloadgolite-83772a7051f5e30d8e59746a9e43dfa706b72f3b.tar.gz
golite-83772a7051f5e30d8e59746a9e43dfa706b72f3b.tar.xz
Merge pull request #421 from flimzy/readme
Use "sqlite3" instead of "sqlite" in usage example.
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 8369013..01d28a2 100644
--- a/README.md
+++ b/README.md
@@ -17,11 +17,11 @@ 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
-------------
@@ -50,7 +50,7 @@ FAQ
* 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.
+ > Probably, you are using go 1.0, go1.0 has a problem when it comes to compiling/linking on windows 64bit.
> See: [#27](https://github.com/mattn/go-sqlite3/issues/27)
* Getting insert error while query is opened.
@@ -67,11 +67,11 @@ FAQ
Use `loc=auto` in SQLite3 filename schema like `file:foo.db?loc=auto`.
-* Can use this in multiple routines concurrently?
+* Can I use this in multiple routines concurrently?
Yes for readonly. But, No for writable. See [#50](https://github.com/mattn/go-sqlite3/issues/50), [#51](https://github.com/mattn/go-sqlite3/issues/51), [#209](https://github.com/mattn/go-sqlite3/issues/209).
-* Why is it racy if I use a `sql.Open("sqlite", ":memory:")` database?
+* Why is it racy if I use a `sql.Open("sqlite3", ":memory:")` database?
Each connection to :memory: opens a brand new in-memory sql database, so if
the stdlib's sql engine happens to open another connection and you've only