From 0ac82007fba8770a7018f5757648b8f8a50d4af8 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Fri, 5 Apr 2019 10:52:23 -0500 Subject: [PATCH] Use extracted packages with Go modules --- array.go | 2 +- bool_array.go | 2 +- box.go | 2 +- bpchar_array.go | 2 +- bytea_array.go | 2 +- cidr_array.go | 2 +- circle.go | 2 +- date.go | 2 +- date_array.go | 2 +- daterange.go | 2 +- float4.go | 2 +- float4_array.go | 2 +- float8.go | 2 +- float8_array.go | 2 +- hstore.go | 2 +- hstore_array.go | 2 +- inet_array.go | 2 +- int2.go | 2 +- int2_array.go | 2 +- int4.go | 2 +- int4_array.go | 2 +- int4range.go | 2 +- int8.go | 2 +- int8_array.go | 2 +- int8range.go | 2 +- interval.go | 2 +- line.go | 2 +- lseg.go | 2 +- macaddr_array.go | 2 +- numeric.go | 2 +- numeric_array.go | 2 +- numrange.go | 2 +- oid.go | 2 +- path.go | 2 +- pguint32.go | 2 +- point.go | 2 +- polygon.go | 2 +- text_array.go | 2 +- tid.go | 2 +- timestamp.go | 2 +- timestamp_array.go | 2 +- timestamptz.go | 2 +- timestamptz_array.go | 2 +- tsrange.go | 2 +- tstzrange.go | 2 +- typed_array.go.erb | 2 +- typed_range.go.erb | 2 +- uuid_array.go | 2 +- varbit.go | 2 +- varchar_array.go | 2 +- 50 files changed, 50 insertions(+), 50 deletions(-) diff --git a/array.go b/array.go index 5b852ed5..9ce0f003 100644 --- a/array.go +++ b/array.go @@ -8,7 +8,7 @@ import ( "strings" "unicode" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/bool_array.go b/bool_array.go index 4231e29d..623937dc 100644 --- a/bool_array.go +++ b/bool_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/box.go b/box.go index 4c5a4406..4c825c56 100644 --- a/box.go +++ b/box.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/bpchar_array.go b/bpchar_array.go index b3f36cb6..d1ee2419 100644 --- a/bpchar_array.go +++ b/bpchar_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/bytea_array.go b/bytea_array.go index 9c094b28..68122961 100644 --- a/bytea_array.go +++ b/bytea_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/cidr_array.go b/cidr_array.go index c254c834..338d4904 100644 --- a/cidr_array.go +++ b/cidr_array.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "net" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/circle.go b/circle.go index 15ea447b..a3bb56f1 100644 --- a/circle.go +++ b/circle.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/date.go b/date.go index b1d4c11d..85c698aa 100644 --- a/date.go +++ b/date.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "time" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/date_array.go b/date_array.go index c0f5c21c..d04666f1 100644 --- a/date_array.go +++ b/date_array.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "time" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/daterange.go b/daterange.go index 47cd7e46..d10d34c0 100644 --- a/daterange.go +++ b/daterange.go @@ -3,7 +3,7 @@ package pgtype import ( "database/sql/driver" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/float4.go b/float4.go index 2207594a..c4feb0a7 100644 --- a/float4.go +++ b/float4.go @@ -6,7 +6,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/float4_array.go b/float4_array.go index fba181d3..4e07ba43 100644 --- a/float4_array.go +++ b/float4_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/float8.go b/float8.go index dd34f541..63944d45 100644 --- a/float8.go +++ b/float8.go @@ -6,7 +6,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/float8_array.go b/float8_array.go index 13dbf27f..e4c340b2 100644 --- a/float8_array.go +++ b/float8_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/hstore.go b/hstore.go index 71b030f9..754c5a3f 100644 --- a/hstore.go +++ b/hstore.go @@ -10,7 +10,7 @@ import ( "github.com/pkg/errors" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" ) // Hstore represents an hstore column that can be null or have null values diff --git a/hstore_array.go b/hstore_array.go index 2b8cf37e..239c5d9c 100644 --- a/hstore_array.go +++ b/hstore_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/inet_array.go b/inet_array.go index dba369d2..7b4cf457 100644 --- a/inet_array.go +++ b/inet_array.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "net" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int2.go b/int2.go index 6156ea77..72110684 100644 --- a/int2.go +++ b/int2.go @@ -6,7 +6,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int2_array.go b/int2_array.go index 7fefbd95..5b4c2e1a 100644 --- a/int2_array.go +++ b/int2_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int4.go b/int4.go index 261c5118..9ad878c4 100644 --- a/int4.go +++ b/int4.go @@ -7,7 +7,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int4_array.go b/int4_array.go index 86656524..77ad8654 100644 --- a/int4_array.go +++ b/int4_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int4range.go b/int4range.go index 95ad1521..67bbfcd2 100644 --- a/int4range.go +++ b/int4range.go @@ -3,7 +3,7 @@ package pgtype import ( "database/sql/driver" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int8.go b/int8.go index 00a8cd00..39b8a0a8 100644 --- a/int8.go +++ b/int8.go @@ -7,7 +7,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int8_array.go b/int8_array.go index 15a8398a..03b169d2 100644 --- a/int8_array.go +++ b/int8_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/int8range.go b/int8range.go index 61d860d3..25839a7b 100644 --- a/int8range.go +++ b/int8range.go @@ -3,7 +3,7 @@ package pgtype import ( "database/sql/driver" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/interval.go b/interval.go index dc696319..75969904 100644 --- a/interval.go +++ b/interval.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/line.go b/line.go index 5fdc5604..6ac4ac2a 100644 --- a/line.go +++ b/line.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/lseg.go b/lseg.go index 4445ea51..c0e77799 100644 --- a/lseg.go +++ b/lseg.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/macaddr_array.go b/macaddr_array.go index bd8b4c5a..c6bc2450 100644 --- a/macaddr_array.go +++ b/macaddr_array.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "net" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/numeric.go b/numeric.go index fb63df75..fb6e1a00 100644 --- a/numeric.go +++ b/numeric.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/numeric_array.go b/numeric_array.go index b5e38539..0d26f3b5 100644 --- a/numeric_array.go +++ b/numeric_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/numrange.go b/numrange.go index aaed62ce..ff9d5372 100644 --- a/numrange.go +++ b/numrange.go @@ -3,7 +3,7 @@ package pgtype import ( "database/sql/driver" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/oid.go b/oid.go index 59370d66..2afc60f8 100644 --- a/oid.go +++ b/oid.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "strconv" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/path.go b/path.go index 69083712..c1b72322 100644 --- a/path.go +++ b/path.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/pguint32.go b/pguint32.go index e441a690..37178b5c 100644 --- a/pguint32.go +++ b/pguint32.go @@ -6,7 +6,7 @@ import ( "math" "strconv" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/point.go b/point.go index 98a32d34..fefe5d1f 100644 --- a/point.go +++ b/point.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/polygon.go b/polygon.go index d84a0abd..904e86e1 100644 --- a/polygon.go +++ b/polygon.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/text_array.go b/text_array.go index d53f0b7b..ec487a23 100644 --- a/text_array.go +++ b/text_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/tid.go b/tid.go index 21852a14..e859865b 100644 --- a/tid.go +++ b/tid.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/timestamp.go b/timestamp.go index 6292521a..f8a4070d 100644 --- a/timestamp.go +++ b/timestamp.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "time" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/timestamp_array.go b/timestamp_array.go index 11b32a11..493088a2 100644 --- a/timestamp_array.go +++ b/timestamp_array.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "time" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/timestamptz.go b/timestamptz.go index 2b9d2a64..ca9b538d 100644 --- a/timestamptz.go +++ b/timestamptz.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "time" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/timestamptz_array.go b/timestamptz_array.go index 31c11f94..612e9904 100644 --- a/timestamptz_array.go +++ b/timestamptz_array.go @@ -5,7 +5,7 @@ import ( "encoding/binary" "time" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/tsrange.go b/tsrange.go index 8a67d65e..d771a761 100644 --- a/tsrange.go +++ b/tsrange.go @@ -3,7 +3,7 @@ package pgtype import ( "database/sql/driver" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/tstzrange.go b/tstzrange.go index b5129093..9a8c782e 100644 --- a/tstzrange.go +++ b/tstzrange.go @@ -3,7 +3,7 @@ package pgtype import ( "database/sql/driver" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/typed_array.go.erb b/typed_array.go.erb index 6b46a23e..b33e7d99 100644 --- a/typed_array.go.erb +++ b/typed_array.go.erb @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" ) type <%= pgtype_array_type %> struct { diff --git a/typed_range.go.erb b/typed_range.go.erb index 91a5cb97..035a71af 100644 --- a/typed_range.go.erb +++ b/typed_range.go.erb @@ -6,7 +6,7 @@ import ( "fmt" "io" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" ) type <%= range_type %> struct { diff --git a/uuid_array.go b/uuid_array.go index 13efdb23..cddd62f1 100644 --- a/uuid_array.go +++ b/uuid_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/varbit.go b/varbit.go index dfa194d2..2c25b1fb 100644 --- a/varbit.go +++ b/varbit.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" ) diff --git a/varchar_array.go b/varchar_array.go index a7f23fba..0a929920 100644 --- a/varchar_array.go +++ b/varchar_array.go @@ -4,7 +4,7 @@ import ( "database/sql/driver" "encoding/binary" - "github.com/jackc/pgx/pgio" + "github.com/jackc/pgio" "github.com/pkg/errors" )