Skip to content

Commit

Permalink
zeronull.Timestamptz should use pgtype.Timestamptz
Browse files Browse the repository at this point in the history
  • Loading branch information
jackc committed Jul 22, 2023
1 parent e665f74 commit 492283b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgtype/zeronull/timestamptz.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (ts *Timestamptz) Scan(src any) error {
return nil
}

var nullable pgtype.Timestamp
var nullable pgtype.Timestamptz
err := nullable.Scan(src)
if err != nil {
return err
Expand Down

0 comments on commit 492283b

Please sign in to comment.