Merge pull request #462 from faruzzy/master

Updated "context" import since it has become a standard library
fix-635 v1.6.0
mattn 2018-01-12 17:58:26 +09:00 committed by GitHub
commit 6c771bb988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -136,6 +136,7 @@ static int _sqlite3_limit(sqlite3* db, int limitId, int newLimit) {
*/ */
import "C" import "C"
import ( import (
"context"
"database/sql" "database/sql"
"database/sql/driver" "database/sql/driver"
"errors" "errors"
@ -149,8 +150,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