Updated "context" import since it has become a standard library after go 1.7 https://golang.org/doc/go1.7#context
This commit is contained in:
parent
05548ff555
commit
5df314a2dc
|
@ -108,6 +108,7 @@ void updateHookTrampoline(void*, int, char*, char*, sqlite3_int64);
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
import (
|
import (
|
||||||
|
"context"
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"database/sql/driver"
|
"database/sql/driver"
|
||||||
"errors"
|
"errors"
|
||||||
|
@ -121,8 +122,6 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
"golang.org/x/net/context"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// SQLiteTimestampFormats is timestamp formats understood by both this module
|
// SQLiteTimestampFormats is timestamp formats understood by both this module
|
||||||
|
|
Loading…
Reference in New Issue