Use pgtype.NewValue instead of reflect for Values()
This is both cleaner and necessary for pgtype.TypeValue types.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user