diff --git a/aclitem_array_test.go b/aclitem_array_test.go index 5f16ab28..dafd13b0 100644 --- a/aclitem_array_test.go +++ b/aclitem_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestACLItemArrayTranscode(t *testing.T) { diff --git a/aclitem_test.go b/aclitem_test.go index 92dfc7a5..480c457c 100644 --- a/aclitem_test.go +++ b/aclitem_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestACLItemTranscode(t *testing.T) { diff --git a/array_test.go b/array_test.go index d17d753c..486171b8 100644 --- a/array_test.go +++ b/array_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" + "github.com/jackc/pgtype" ) func TestParseUntypedTextArray(t *testing.T) { diff --git a/bit_test.go b/bit_test.go index 05729323..2e9c9b6e 100644 --- a/bit_test.go +++ b/bit_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestBitTranscode(t *testing.T) { diff --git a/bool_array_test.go b/bool_array_test.go index 6d2d7c06..bef94622 100644 --- a/bool_array_test.go +++ b/bool_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestBoolArrayTranscode(t *testing.T) { diff --git a/bool_test.go b/bool_test.go index 5228e280..64b4064d 100644 --- a/bool_test.go +++ b/bool_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestBoolTranscode(t *testing.T) { diff --git a/box_test.go b/box_test.go index aad10262..643c74ec 100644 --- a/box_test.go +++ b/box_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestBoxTranscode(t *testing.T) { diff --git a/bpchar_array_test.go b/bpchar_array_test.go index 820dfa5b..af6bf09a 100644 --- a/bpchar_array_test.go +++ b/bpchar_array_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestBPCharArrayTranscode(t *testing.T) { diff --git a/bpchar_test.go b/bpchar_test.go index e8981e52..7b8c1da3 100644 --- a/bpchar_test.go +++ b/bpchar_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestChar3Transcode(t *testing.T) { diff --git a/bytea_array_test.go b/bytea_array_test.go index 00dc0a1f..a4eb2d91 100644 --- a/bytea_array_test.go +++ b/bytea_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestByteaArrayTranscode(t *testing.T) { diff --git a/bytea_test.go b/bytea_test.go index 75b55de4..c8c49ff7 100644 --- a/bytea_test.go +++ b/bytea_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestByteaTranscode(t *testing.T) { diff --git a/cid_test.go b/cid_test.go index 588e6c66..50e50cd8 100644 --- a/cid_test.go +++ b/cid_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestCIDTranscode(t *testing.T) { diff --git a/cidr_array_test.go b/cidr_array_test.go index 71125bdb..421aec4e 100644 --- a/cidr_array_test.go +++ b/cidr_array_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestCIDRArrayTranscode(t *testing.T) { diff --git a/circle_test.go b/circle_test.go index 82598620..ba4f408b 100644 --- a/circle_test.go +++ b/circle_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestCircleTranscode(t *testing.T) { diff --git a/date_array_test.go b/date_array_test.go index 24a8282c..9f4a96a9 100644 --- a/date_array_test.go +++ b/date_array_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestDateArrayTranscode(t *testing.T) { diff --git a/date_test.go b/date_test.go index ac7aadfe..bcdbbf20 100644 --- a/date_test.go +++ b/date_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestDateTranscode(t *testing.T) { diff --git a/daterange_test.go b/daterange_test.go index 4d3119ee..4118cffa 100644 --- a/daterange_test.go +++ b/daterange_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestDaterangeTranscode(t *testing.T) { diff --git a/enum_array_test.go b/enum_array_test.go index dbe09751..406c6b47 100644 --- a/enum_array_test.go +++ b/enum_array_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestEnumArrayTranscode(t *testing.T) { diff --git a/ext/satori-uuid/uuid.go b/ext/satori-uuid/uuid.go index 2aebfc47..01adea23 100644 --- a/ext/satori-uuid/uuid.go +++ b/ext/satori-uuid/uuid.go @@ -5,7 +5,7 @@ import ( errors "golang.org/x/xerrors" - "github.com/jackc/pgx/v4/pgtype" + "github.com/jackc/pgtype" uuid "github.com/satori/go.uuid" ) diff --git a/ext/satori-uuid/uuid_test.go b/ext/satori-uuid/uuid_test.go index 7a770b84..247470a3 100644 --- a/ext/satori-uuid/uuid_test.go +++ b/ext/satori-uuid/uuid_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/jackc/pgx/v4/pgtype" - satori "github.com/jackc/pgx/v4/pgtype/ext/satori-uuid" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + satori "github.com/jackc/pgtype/ext/satori-uuid" + "github.com/jackc/pgtype/testutil" ) func TestUUIDTranscode(t *testing.T) { diff --git a/ext/shopspring-numeric/decimal.go b/ext/shopspring-numeric/decimal.go index 54612db9..d8f176a8 100644 --- a/ext/shopspring-numeric/decimal.go +++ b/ext/shopspring-numeric/decimal.go @@ -6,7 +6,7 @@ import ( errors "golang.org/x/xerrors" - "github.com/jackc/pgx/v4/pgtype" + "github.com/jackc/pgtype" "github.com/shopspring/decimal" ) diff --git a/ext/shopspring-numeric/decimal_test.go b/ext/shopspring-numeric/decimal_test.go index 2af39e1d..0b256b37 100644 --- a/ext/shopspring-numeric/decimal_test.go +++ b/ext/shopspring-numeric/decimal_test.go @@ -7,9 +7,9 @@ import ( "reflect" "testing" - "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/jackc/pgtype" + shopspring "github.com/jackc/pgtype/ext/shopspring-numeric" + "github.com/jackc/pgtype/testutil" "github.com/shopspring/decimal" ) diff --git a/float4_array_test.go b/float4_array_test.go index 24d544b6..658b3381 100644 --- a/float4_array_test.go +++ b/float4_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestFloat4ArrayTranscode(t *testing.T) { diff --git a/float4_test.go b/float4_test.go index 4779b357..d2524cda 100644 --- a/float4_test.go +++ b/float4_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestFloat4Transcode(t *testing.T) { diff --git a/float8_array_test.go b/float8_array_test.go index b3e7a197..2e29a19f 100644 --- a/float8_array_test.go +++ b/float8_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestFloat8ArrayTranscode(t *testing.T) { diff --git a/float8_test.go b/float8_test.go index 15092916..6bc7c652 100644 --- a/float8_test.go +++ b/float8_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestFloat8Transcode(t *testing.T) { diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..8412ceea --- /dev/null +++ b/go.mod @@ -0,0 +1,11 @@ +module github.com/jackc/pgtype + +go 1.12 + +require ( + github.com/jackc/pgio v1.0.0 + github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96 + github.com/lib/pq v1.1.0 + github.com/satori/go.uuid v1.2.0 + golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373 +) diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..ff91dc33 --- /dev/null +++ b/go.sum @@ -0,0 +1,49 @@ +github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/jackc/chunkreader v1.0.0 h1:4s39bBR8ByfqH+DKm8rQA3E1LHZWB9XWcrz8fqaZbe0= +github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3 h1:ZFYpB74Kq8xE9gmfxCmXD6QxZ27ja+j3HwGFc+YurhQ= +github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= +github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= +github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= +github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgproto3 v1.1.0 h1:FYYE4yRw+AgI8wXIinMlNjBbp/UitDJwfj5LqqewP1A= +github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db h1:UpaKn/gYxzH6/zWyRQH1S260zvKqwJJ4h8+Kf09ooh0= +github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod h1:bhq50y+xrl9n5mRYyCBFKkpRVTLYJVWeCc+mEAI3yXA= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96 h1:ylEAOd688Duev/fxTmGdupsbyZfxNMdngIG14DoBKTM= +github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= +github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/lib/pq v1.1.0 h1:/5u4a+KGJptBRqGzPvYQL9p0d/tPR4S31+Tnzj9lEO4= +github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= +github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a h1:Igim7XhdOpBnWPuYJ70XcNpq8q3BCACtVgNfoJxOV7g= +golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373 h1:PPwnA7z1Pjf7XYaBP9GL1VAMZmcIWyFz7QCMSIIa3Bg= +golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/hstore_array_test.go b/hstore_array_test.go index bc45cbdf..47835605 100644 --- a/hstore_array_test.go +++ b/hstore_array_test.go @@ -5,9 +5,9 @@ import ( "reflect" "testing" + "github.com/jackc/pgtype" + "github.com/jackc/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) { diff --git a/hstore_test.go b/hstore_test.go index 71fd2355..ccd476dc 100644 --- a/hstore_test.go +++ b/hstore_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestHstoreTranscode(t *testing.T) { diff --git a/inet_array_test.go b/inet_array_test.go index 4e93d0f5..6737aac0 100644 --- a/inet_array_test.go +++ b/inet_array_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInetArrayTranscode(t *testing.T) { diff --git a/inet_test.go b/inet_test.go index ee93873b..8257a63d 100644 --- a/inet_test.go +++ b/inet_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInetTranscode(t *testing.T) { diff --git a/int2_array_test.go b/int2_array_test.go index fb4f0d60..810d5a7e 100644 --- a/int2_array_test.go +++ b/int2_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt2ArrayTranscode(t *testing.T) { diff --git a/int2_test.go b/int2_test.go index ff4732f7..cf8acd30 100644 --- a/int2_test.go +++ b/int2_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt2Transcode(t *testing.T) { diff --git a/int4_array_test.go b/int4_array_test.go index 06772cf6..a0b8058f 100644 --- a/int4_array_test.go +++ b/int4_array_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt4ArrayTranscode(t *testing.T) { diff --git a/int4_test.go b/int4_test.go index 6b23c5a9..52bf9f0c 100644 --- a/int4_test.go +++ b/int4_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt4Transcode(t *testing.T) { diff --git a/int4range_test.go b/int4range_test.go index 95d448f0..43626189 100644 --- a/int4range_test.go +++ b/int4range_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt4rangeTranscode(t *testing.T) { diff --git a/int8_array_test.go b/int8_array_test.go index c2d914ab..f4ed76e0 100644 --- a/int8_array_test.go +++ b/int8_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt8ArrayTranscode(t *testing.T) { diff --git a/int8_test.go b/int8_test.go index a5f80f42..63dd6f3e 100644 --- a/int8_test.go +++ b/int8_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt8Transcode(t *testing.T) { diff --git a/int8range_test.go b/int8range_test.go index 01af48bb..99d4e8a3 100644 --- a/int8range_test.go +++ b/int8range_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestInt8rangeTranscode(t *testing.T) { diff --git a/interval_test.go b/interval_test.go index 7cafb0ae..6a4787e0 100644 --- a/interval_test.go +++ b/interval_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestIntervalTranscode(t *testing.T) { diff --git a/json_test.go b/json_test.go index bb0f1b20..918b33d5 100644 --- a/json_test.go +++ b/json_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestJSONTranscode(t *testing.T) { diff --git a/jsonb_test.go b/jsonb_test.go index 73656c76..e7ce7203 100644 --- a/jsonb_test.go +++ b/jsonb_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestJSONBTranscode(t *testing.T) { diff --git a/line_test.go b/line_test.go index 5f0a58a3..6a560dec 100644 --- a/line_test.go +++ b/line_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestLineTranscode(t *testing.T) { diff --git a/lseg_test.go b/lseg_test.go index 100bdf0f..b75297cc 100644 --- a/lseg_test.go +++ b/lseg_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestLsegTranscode(t *testing.T) { diff --git a/macaddr_array_test.go b/macaddr_array_test.go index cf07ebf6..d2b0a73b 100644 --- a/macaddr_array_test.go +++ b/macaddr_array_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestMacaddrArrayTranscode(t *testing.T) { diff --git a/macaddr_test.go b/macaddr_test.go index a08671c0..364a8914 100644 --- a/macaddr_test.go +++ b/macaddr_test.go @@ -6,8 +6,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestMacaddrTranscode(t *testing.T) { diff --git a/name_test.go b/name_test.go index 75d7b95a..75329b01 100644 --- a/name_test.go +++ b/name_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestNameTranscode(t *testing.T) { diff --git a/numeric_array_test.go b/numeric_array_test.go index b17a6461..9d608dea 100644 --- a/numeric_array_test.go +++ b/numeric_array_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestNumericArrayTranscode(t *testing.T) { diff --git a/numeric_test.go b/numeric_test.go index b723cc56..046c2f94 100644 --- a/numeric_test.go +++ b/numeric_test.go @@ -6,8 +6,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/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) diff --git a/numrange_test.go b/numrange_test.go index 610447fe..0bbb26f0 100644 --- a/numrange_test.go +++ b/numrange_test.go @@ -4,8 +4,8 @@ import ( "math/big" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestNumrangeTranscode(t *testing.T) { diff --git a/oid_value_test.go b/oid_value_test.go index 462a5a28..69742dd7 100644 --- a/oid_value_test.go +++ b/oid_value_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestOIDValueTranscode(t *testing.T) { diff --git a/path_test.go b/path_test.go index 16e781f5..969a89ec 100644 --- a/path_test.go +++ b/path_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestPathTranscode(t *testing.T) { diff --git a/point_test.go b/point_test.go index 017bfc03..0d191b5e 100644 --- a/point_test.go +++ b/point_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestPointTranscode(t *testing.T) { diff --git a/polygon_test.go b/polygon_test.go index 3bafebfc..f8b02ca2 100644 --- a/polygon_test.go +++ b/polygon_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestPolygonTranscode(t *testing.T) { diff --git a/qchar_test.go b/qchar_test.go index 3b50bb3e..4b60339c 100644 --- a/qchar_test.go +++ b/qchar_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestQCharTranscode(t *testing.T) { diff --git a/record_test.go b/record_test.go index 5de8af31..fbf36f5c 100644 --- a/record_test.go +++ b/record_test.go @@ -6,9 +6,9 @@ import ( "reflect" "testing" + "github.com/jackc/pgtype" + "github.com/jackc/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) { diff --git a/testutil/testutil.go b/testutil/testutil.go index 121eb754..66deff39 100644 --- a/testutil/testutil.go +++ b/testutil/testutil.go @@ -8,8 +8,8 @@ import ( "reflect" "testing" + "github.com/jackc/pgtype" "github.com/jackc/pgx/v4" - "github.com/jackc/pgx/v4/pgtype" _ "github.com/jackc/pgx/v4/stdlib" _ "github.com/lib/pq" ) diff --git a/text_array_test.go b/text_array_test.go index b03312d9..a29ce617 100644 --- a/text_array_test.go +++ b/text_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTextArrayTranscode(t *testing.T) { diff --git a/text_test.go b/text_test.go index 53f4bd7e..f7286995 100644 --- a/text_test.go +++ b/text_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTextTranscode(t *testing.T) { diff --git a/tid_test.go b/tid_test.go index cd753ab4..773bd96f 100644 --- a/tid_test.go +++ b/tid_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTIDTranscode(t *testing.T) { diff --git a/timestamp_array_test.go b/timestamp_array_test.go index 002d1ca4..d7632fa3 100644 --- a/timestamp_array_test.go +++ b/timestamp_array_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTimestampArrayTranscode(t *testing.T) { diff --git a/timestamp_test.go b/timestamp_test.go index 732f3cc2..eec0a52e 100644 --- a/timestamp_test.go +++ b/timestamp_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTimestampTranscode(t *testing.T) { diff --git a/timestamptz_array_test.go b/timestamptz_array_test.go index ac9975f0..8a4cfd1d 100644 --- a/timestamptz_array_test.go +++ b/timestamptz_array_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTimestamptzArrayTranscode(t *testing.T) { diff --git a/timestamptz_test.go b/timestamptz_test.go index f522117b..f6aec068 100644 --- a/timestamptz_test.go +++ b/timestamptz_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTimestamptzTranscode(t *testing.T) { diff --git a/tsrange_test.go b/tsrange_test.go index 6215e318..1be0c7d2 100644 --- a/tsrange_test.go +++ b/tsrange_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTsrangeTranscode(t *testing.T) { diff --git a/tstzrange_test.go b/tstzrange_test.go index ddaf798b..b3d3ff6c 100644 --- a/tstzrange_test.go +++ b/tstzrange_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestTstzrangeTranscode(t *testing.T) { diff --git a/uuid_array_test.go b/uuid_array_test.go index 6ec6acfb..d5446920 100644 --- a/uuid_array_test.go +++ b/uuid_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestUUIDArrayTranscode(t *testing.T) { diff --git a/uuid_test.go b/uuid_test.go index 9d95c10c..49190168 100644 --- a/uuid_test.go +++ b/uuid_test.go @@ -4,8 +4,8 @@ import ( "bytes" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestUUIDTranscode(t *testing.T) { diff --git a/varbit_test.go b/varbit_test.go index 8ea282eb..3c5aea1e 100644 --- a/varbit_test.go +++ b/varbit_test.go @@ -3,8 +3,8 @@ package pgtype_test import ( "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestVarbitTranscode(t *testing.T) { diff --git a/varchar_array_test.go b/varchar_array_test.go index b836664f..9ad80862 100644 --- a/varchar_array_test.go +++ b/varchar_array_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestVarcharArrayTranscode(t *testing.T) { diff --git a/xid_test.go b/xid_test.go index 34801e1f..563ce96e 100644 --- a/xid_test.go +++ b/xid_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/jackc/pgx/v4/pgtype" - "github.com/jackc/pgx/v4/pgtype/testutil" + "github.com/jackc/pgtype" + "github.com/jackc/pgtype/testutil" ) func TestXIDTranscode(t *testing.T) {