2
0

Make EnumType implementation private

This commit is contained in:
Jack Christensen
2020-05-06 10:30:43 -05:00
parent 4d2b5a18c4
commit 2938981516
2 changed files with 51 additions and 46 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/require"
)
func setupEnum(t *testing.T, conn *pgx.Conn) *pgtype.EnumType {
func setupEnum(t *testing.T, conn *pgx.Conn) pgtype.EnumType {
_, err := conn.Exec(context.Background(), "drop type if exists pgtype_enum_color;")
require.NoError(t, err)