Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gosqlite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gosqlite
Commits
6330f45f
Commit
6330f45f
authored
May 27, 2018
by
gwenn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc
parent
4cd78a28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
README.md
README.md
+5
-7
sqlite_test.go
sqlite_test.go
+1
-1
No files found.
README.md
View file @
6330f45f
[
![GoDoc
](
https://godoc.org/github.com/gwenn/gosqlite?status.svg
)
](https://godoc.org/github.com/gwenn/gosqlite)
[
![Build Status
][
1
]
]
[
2] [![Go Report Card
](
https://goreportcard.com/badge/github.com/gwenn/gosqlite
)
](https://goreportcard.com/report/github.com/gwenn/gosqlite)
[
1
]:
https://secure.travis-ci.org/gwenn/gosqlite.png
[
2
]:
http://www.travis-ci.org/gwenn/gosqlite
Yet another SQLite binding based on:
-
original
[
Russ Cox's
](
http://code.google.com/p/gosqlite/
)
implementation (or
[
here
](
https://github.com/rsc/sqlite
)
),
-
the
[
Patrick Crosby's
](
https://github.com/patrickxb/fgosqlite/
)
fork.
...
...
@@ -6,13 +11,6 @@ There are two layers:
*
one matching the SQLite API (with Backup, Blob, user-defined Function/Module, ...).
*
and another implementing the "database/sql/driver" interface.
[
![GoDoc
](
https://godoc.org/github.com/gwenn/gosqlite?status.svg
)
](https://godoc.org/github.com/gwenn/gosqlite)
[
![Build Status
][
1
]
][2]
[
1
]:
https://secure.travis-ci.org/gwenn/gosqlite.png
[
2
]:
http://www.travis-ci.org/gwenn/gosqlite
### Caveat
With Go 1.6, some features do not work anymore without
`GODEBUG=cgocheck=0`
(see
[
Cgo major change
](
https://golang.org/doc/go1.6#cgo
)
).
It seems that the solution is a global variable/lock (see
[
here
](
https://github.com/mattn/go-sqlite3/pull/268
)
).
...
...
sqlite_test.go
View file @
6330f45f
...
...
@@ -226,7 +226,7 @@ func TestReadonlyMisuse(t *testing.T) {
defer
checkClose
(
db
,
t
)
_
,
err
:=
db
.
Readonly
(
"doesnotexist"
)
assert
.
T
(
t
,
err
!=
nil
,
"error expected"
)
err
.
Error
()
_
=
err
.
Error
()
//println(err.Error())
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment