Finish import of pgtype repo
Fix some tests that broke by merging repos Tweak readme wording
This commit is contained in:
@@ -3,7 +3,7 @@ package zeronull
|
||||
import (
|
||||
"database/sql/driver"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type Float8 float64
|
||||
|
||||
@@ -3,8 +3,8 @@ package zeronull_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestFloat8Transcode(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package zeronull
|
||||
import (
|
||||
"database/sql/driver"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type Int2 int16
|
||||
|
||||
@@ -3,8 +3,8 @@ package zeronull_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestInt2Transcode(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package zeronull
|
||||
import (
|
||||
"database/sql/driver"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type Int4 int32
|
||||
|
||||
@@ -3,8 +3,8 @@ package zeronull_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestInt4Transcode(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package zeronull
|
||||
import (
|
||||
"database/sql/driver"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type Int8 int64
|
||||
|
||||
@@ -3,8 +3,8 @@ package zeronull_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestInt8Transcode(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package zeronull
|
||||
import (
|
||||
"database/sql/driver"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type Text string
|
||||
|
||||
@@ -3,8 +3,8 @@ package zeronull_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestTextTranscode(t *testing.T) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"database/sql/driver"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type Timestamp time.Time
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestTimestampTranscode(t *testing.T) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"database/sql/driver"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type Timestamptz time.Time
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestTimestamptzTranscode(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package zeronull
|
||||
import (
|
||||
"database/sql/driver"
|
||||
|
||||
"github.com/jackc/pgtype"
|
||||
"github.com/jackc/pgx/v4/pgtype"
|
||||
)
|
||||
|
||||
type UUID [16]byte
|
||||
|
||||
@@ -3,8 +3,8 @@ package zeronull_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgtype/testutil"
|
||||
"github.com/jackc/pgtype/zeronull"
|
||||
"github.com/jackc/pgx/v4/pgtype/testutil"
|
||||
"github.com/jackc/pgx/v4/pgtype/zeronull"
|
||||
)
|
||||
|
||||
func TestUUIDTranscode(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user