2
0

Add test for pgtype.Int2.AssignTo

This commit is contained in:
Jack Christensen
2017-03-03 17:59:26 -06:00
parent 2fb46fb16f
commit 9e5d81d8f5
3 changed files with 73 additions and 4 deletions
+5
View File
@@ -11,6 +11,11 @@ import (
"github.com/jackc/pgx/pgtype"
)
// Test for renamed types
type _bool bool
type _int8 int8
type _int16 int16
func mustConnectPgx(t testing.TB) *pgx.Conn {
config, err := pgx.ParseURI(os.Getenv("DATABASE_URL"))
if err != nil {