mirror of https://github.com/jackc/pgx.git
Fix go modules
Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+ project.non-blocking
parent
6161728ff9
commit
8502a12ac7
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestACLItemArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestACLItemTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
func TestParseUntypedTextArray(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestBitTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestBoolArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestBoolTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestBoxTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestBPCharArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestChar3Transcode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestByteaArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestByteaTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestCIDTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestCIDRArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestCircleTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestDateArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestDateTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestDaterangeTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestEnumArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
satori "github.com/jackc/pgx/pgtype/ext/satori-uuid"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
satori "github.com/jackc/pgx/v4/pgtype/ext/satori-uuid"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestUUIDTranscode(t *testing.T) {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/shopspring/decimal"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
shopspring "github.com/jackc/pgx/pgtype/ext/shopspring-numeric"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
shopspring "github.com/jackc/pgx/v4/pgtype/ext/shopspring-numeric"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/shopspring/decimal"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestFloat4ArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestFloat4Transcode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestFloat8ArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestFloat8Transcode(t *testing.T) {
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx"
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestHstoreArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestHstoreTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInetArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInetTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt2ArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt2Transcode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt4ArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt4Transcode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt4rangeTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt8ArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt8Transcode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestInt8rangeTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestIntervalTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestJSONTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestJSONBTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestLineTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestLsegTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestMacaddrArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestMacaddrTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestNameTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestNumericArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
// For test purposes only. Note that it does not normalize values. e.g. (Int: 1, Exp: 3) will not equal (Int: 1000, Exp: 0)
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"math/big"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestNumrangeTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestOIDValueTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestPathTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net"
|
||||
"testing"
|
||||
|
||||
_ "github.com/jackc/pgx/stdlib"
|
||||
_ "github.com/jackc/pgx/v4/stdlib"
|
||||
_ "github.com/lib/pq"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestPointTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestPolygonTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestQCharTranscode(t *testing.T) {
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx"
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestRecordTranscode(t *testing.T) {
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx"
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
_ "github.com/jackc/pgx/stdlib"
|
||||
"github.com/jackc/pgx/v4"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
_ "github.com/jackc/pgx/v4/stdlib"
|
||||
_ "github.com/lib/pq"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTextArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTextTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTIDTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTimestampArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTimestampTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTimestamptzArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTimestamptzTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTsrangeTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestTstzrangeTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestUUIDArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestUUIDTranscode(t *testing.T) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestVarbitTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestVarcharArrayTranscode(t *testing.T) {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/pgtype"
|
||||
"github.com/jackc/pgx/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestXIDTranscode(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue