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"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestACLItemArrayTranscode(t *testing.T) {
|
func TestACLItemArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestACLItemTranscode(t *testing.T) {
|
func TestACLItemTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestParseUntypedTextArray(t *testing.T) {
|
func TestParseUntypedTextArray(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBitTranscode(t *testing.T) {
|
func TestBitTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBoolArrayTranscode(t *testing.T) {
|
func TestBoolArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBoolTranscode(t *testing.T) {
|
func TestBoolTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBoxTranscode(t *testing.T) {
|
func TestBoxTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBPCharArrayTranscode(t *testing.T) {
|
func TestBPCharArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestChar3Transcode(t *testing.T) {
|
func TestChar3Transcode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestByteaArrayTranscode(t *testing.T) {
|
func TestByteaArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestByteaTranscode(t *testing.T) {
|
func TestByteaTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCIDTranscode(t *testing.T) {
|
func TestCIDTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCIDRArrayTranscode(t *testing.T) {
|
func TestCIDRArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestCircleTranscode(t *testing.T) {
|
func TestCircleTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDateArrayTranscode(t *testing.T) {
|
func TestDateArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDateTranscode(t *testing.T) {
|
func TestDateTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDaterangeTranscode(t *testing.T) {
|
func TestDaterangeTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestEnumArrayTranscode(t *testing.T) {
|
func TestEnumArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
uuid "github.com/satori/go.uuid"
|
uuid "github.com/satori/go.uuid"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
satori "github.com/jackc/pgx/pgtype/ext/satori-uuid"
|
satori "github.com/jackc/pgx/v4/pgtype/ext/satori-uuid"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUUIDTranscode(t *testing.T) {
|
func TestUUIDTranscode(t *testing.T) {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/shopspring/decimal"
|
"github.com/shopspring/decimal"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
shopspring "github.com/jackc/pgx/pgtype/ext/shopspring-numeric"
|
shopspring "github.com/jackc/pgx/v4/pgtype/ext/shopspring-numeric"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
"github.com/shopspring/decimal"
|
"github.com/shopspring/decimal"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestFloat4ArrayTranscode(t *testing.T) {
|
func TestFloat4ArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestFloat4Transcode(t *testing.T) {
|
func TestFloat4Transcode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestFloat8ArrayTranscode(t *testing.T) {
|
func TestFloat8ArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestFloat8Transcode(t *testing.T) {
|
func TestFloat8Transcode(t *testing.T) {
|
||||||
|
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx"
|
"github.com/jackc/pgx/v4"
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHstoreArrayTranscode(t *testing.T) {
|
func TestHstoreArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHstoreTranscode(t *testing.T) {
|
func TestHstoreTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInetArrayTranscode(t *testing.T) {
|
func TestInetArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInetTranscode(t *testing.T) {
|
func TestInetTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt2ArrayTranscode(t *testing.T) {
|
func TestInt2ArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt2Transcode(t *testing.T) {
|
func TestInt2Transcode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt4ArrayTranscode(t *testing.T) {
|
func TestInt4ArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt4Transcode(t *testing.T) {
|
func TestInt4Transcode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt4rangeTranscode(t *testing.T) {
|
func TestInt4rangeTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt8ArrayTranscode(t *testing.T) {
|
func TestInt8ArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt8Transcode(t *testing.T) {
|
func TestInt8Transcode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt8rangeTranscode(t *testing.T) {
|
func TestInt8rangeTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIntervalTranscode(t *testing.T) {
|
func TestIntervalTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestJSONTranscode(t *testing.T) {
|
func TestJSONTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestJSONBTranscode(t *testing.T) {
|
func TestJSONBTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestLineTranscode(t *testing.T) {
|
func TestLineTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestLsegTranscode(t *testing.T) {
|
func TestLsegTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMacaddrArrayTranscode(t *testing.T) {
|
func TestMacaddrArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMacaddrTranscode(t *testing.T) {
|
func TestMacaddrTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNameTranscode(t *testing.T) {
|
func TestNameTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNumericArrayTranscode(t *testing.T) {
|
func TestNumericArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"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)
|
// 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"
|
"math/big"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNumrangeTranscode(t *testing.T) {
|
func TestNumrangeTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestOIDValueTranscode(t *testing.T) {
|
func TestOIDValueTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPathTranscode(t *testing.T) {
|
func TestPathTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
_ "github.com/jackc/pgx/stdlib"
|
_ "github.com/jackc/pgx/v4/stdlib"
|
||||||
_ "github.com/lib/pq"
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPointTranscode(t *testing.T) {
|
func TestPointTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestPolygonTranscode(t *testing.T) {
|
func TestPolygonTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestQCharTranscode(t *testing.T) {
|
func TestQCharTranscode(t *testing.T) {
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx"
|
"github.com/jackc/pgx/v4"
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRecordTranscode(t *testing.T) {
|
func TestRecordTranscode(t *testing.T) {
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx"
|
"github.com/jackc/pgx/v4"
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
_ "github.com/jackc/pgx/stdlib"
|
_ "github.com/jackc/pgx/v4/stdlib"
|
||||||
_ "github.com/lib/pq"
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTextArrayTranscode(t *testing.T) {
|
func TestTextArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTextTranscode(t *testing.T) {
|
func TestTextTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTIDTranscode(t *testing.T) {
|
func TestTIDTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTimestampArrayTranscode(t *testing.T) {
|
func TestTimestampArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTimestampTranscode(t *testing.T) {
|
func TestTimestampTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTimestamptzArrayTranscode(t *testing.T) {
|
func TestTimestamptzArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTimestamptzTranscode(t *testing.T) {
|
func TestTimestamptzTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTsrangeTranscode(t *testing.T) {
|
func TestTsrangeTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestTstzrangeTranscode(t *testing.T) {
|
func TestTstzrangeTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUUIDArrayTranscode(t *testing.T) {
|
func TestUUIDArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUUIDTranscode(t *testing.T) {
|
func TestUUIDTranscode(t *testing.T) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package pgtype_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestVarbitTranscode(t *testing.T) {
|
func TestVarbitTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestVarcharArrayTranscode(t *testing.T) {
|
func TestVarcharArrayTranscode(t *testing.T) {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/jackc/pgx/pgtype"
|
"github.com/jackc/pgx/v4/pgtype"
|
||||||
"github.com/jackc/pgx/pgtype/testutil"
|
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestXIDTranscode(t *testing.T) {
|
func TestXIDTranscode(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue