2
0

Use pgtype.NewValue instead of reflect for Values()

This is both cleaner and necessary for pgtype.TypeValue types.
This commit is contained in:
Jack Christensen
2020-05-30 13:32:15 -05:00
parent 8dee3382f7
commit 4b95a747d7
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ require (
github.com/jackc/pgconn v1.5.0
github.com/jackc/pgio v1.0.0
github.com/jackc/pgproto3/v2 v2.0.1
github.com/jackc/pgtype v1.3.1-0.20200510190516-8cd94a14c75a
github.com/jackc/pgtype v1.3.1-0.20200513130519-238967ec4e4c
github.com/jackc/puddle v1.1.1
github.com/rs/zerolog v1.15.0
github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc