Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenn committed May 27, 2018
1 parent 4cd78a2 commit 6330f45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[![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.
Expand All @@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion sqlite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit 6330f45

Please sign in to comment.