aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Pangu <faruzzy@gmail.com>2017-09-05 19:54:16 -0700
committerRoland Pangu <faruzzy@gmail.com>2017-09-05 19:54:16 -0700
commit5df314a2dc5e85ac859f637309aa261ee1e957cf (patch)
tree7436b964f016ab6da480561f256f64d7bd924028
parentMerge pull request #423 from danderson/master (diff)
downloadgolite-5df314a2dc5e85ac859f637309aa261ee1e957cf.tar.gz
golite-5df314a2dc5e85ac859f637309aa261ee1e957cf.tar.xz
Updated "context" import since it has become a standard library after go 1.7 https://golang.org/doc/go1.7#context
-rw-r--r--sqlite3.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/sqlite3.go b/sqlite3.go
index 1ff58c3..2e9a821 100644
--- a/sqlite3.go
+++ b/sqlite3.go
@@ -108,6 +108,7 @@ void updateHookTrampoline(void*, int, char*, char*, sqlite3_int64);
*/
import "C"
import (
+ "context"
"database/sql"
"database/sql/driver"
"errors"
@@ -121,8 +122,6 @@ import (
"sync"
"time"
"unsafe"
-
- "golang.org/x/net/context"
)
// SQLiteTimestampFormats is timestamp formats understood by both this module