aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2018-01-12 17:58:26 +0900
committerGitHub <noreply@github.com>2018-01-12 17:58:26 +0900
commit6c771bb9887719704b210e87e934f08be014bdb1 (patch)
treeadf187e3e0f28c0fa60b987c470465f60b0725ff
parentMerge pull request #489 from Projectplace/fix-cancel-race (diff)
parentUpdated "context" import since it has become a standard library after go 1.7 ... (diff)
downloadgolite-6c771bb9887719704b210e87e934f08be014bdb1.tar.gz
golite-6c771bb9887719704b210e87e934f08be014bdb1.tar.xz
Merge pull request #462 from faruzzy/master
Updated "context" import since it has become a standard library
-rw-r--r--sqlite3.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/sqlite3.go b/sqlite3.go
index c9edd40..739f91d 100644
--- a/sqlite3.go
+++ b/sqlite3.go
@@ -136,6 +136,7 @@ static int _sqlite3_limit(sqlite3* db, int limitId, int newLimit) {
*/
import "C"
import (
+ "context"
"database/sql"
"database/sql/driver"
"errors"
@@ -149,8 +150,6 @@ import (
"sync"
"time"
"unsafe"
-
- "golang.org/x/net/context"
)
// SQLiteTimestampFormats is timestamp formats understood by both this module