aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJesse Rittner <rittneje@gmail.com>2019-01-04 18:57:33 -0500
committerJesse Rittner <rittneje@gmail.com>2019-01-04 18:57:33 -0500
commit062811fcbdca58aa7caadb3fa31c312ac0d5132b (patch)
treed2969ffb59dfabab43511c6fb468bbfdbae81917 /README.md
parentadding additional info to FAQ about in-memory databases (diff)
downloadgolite-062811fcbdca58aa7caadb3fa31c312ac0d5132b.tar.gz
golite-062811fcbdca58aa7caadb3fa31c312ac0d5132b.tar.xz
more code formatting
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d93b9cf..b1bc610 100644
--- a/README.md
+++ b/README.md
@@ -456,9 +456,9 @@ For an example see [shaxbee/go-spatialite](https://github.com/shaxbee/go-spatial
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
+ 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
- specified ":memory:", that connection will see a brand new database. A
+ specified `":memory:"`, that connection will see a brand new database. A
workaround is to use `"file::memory:?cache=shared"` (or `"file:foobar?mode=memory&cache=shared"`). Every
connection to this string will point to the same in-memory database.