Use stdlib context

v3-numeric-wip
Jack Christensen 2017-03-03 16:01:06 -06:00
parent 15b44f4096
commit 908c439317
7 changed files with 6 additions and 12 deletions

View File

@ -50,7 +50,6 @@ install:
- go get -u github.com/shopspring/decimal
- go get -u gopkg.in/inconshreveable/log15.v2
- go get -u github.com/jackc/fake
- go get -u golang.org/x/net/context
- go get -u github.com/jackc/pgmock/pgmsg
script:

View File

@ -1,6 +1,7 @@
package pgx
import (
"context"
"crypto/md5"
"crypto/tls"
"encoding/binary"
@ -19,8 +20,6 @@ import (
"sync/atomic"
"time"
"golang.org/x/net/context"
"github.com/jackc/pgx/chunkreader"
"github.com/jackc/pgx/pgtype"
)

View File

@ -1,8 +1,8 @@
package pgx
import (
"context"
"errors"
"golang.org/x/net/context"
"sync"
"time"
)

View File

@ -1,9 +1,9 @@
package pgx_test
import (
"context"
"crypto/tls"
"fmt"
"golang.org/x/net/context"
"net"
"os"
"reflect"

View File

@ -1,13 +1,12 @@
package pgx
import (
"context"
"database/sql"
"errors"
"fmt"
"time"
"golang.org/x/net/context"
"github.com/jackc/pgx/pgtype"
)

View File

@ -2,16 +2,14 @@ package pgx_test
import (
"bytes"
"context"
"database/sql"
"fmt"
"strings"
"testing"
"time"
"golang.org/x/net/context"
"github.com/jackc/pgx"
"github.com/shopspring/decimal"
)

View File

@ -1,6 +1,7 @@
package pgx_test
import (
"context"
"errors"
"fmt"
"math/rand"
@ -9,8 +10,6 @@ import (
"testing"
"time"
"golang.org/x/net/context"
"github.com/jackc/fake"
"github.com/jackc/pgx"
)