(t pgtype.Timestamp)
| 496 | } |
| 497 | |
| 498 | func pgTime(t pgtype.Timestamp) time.Time { |
| 499 | if t.Valid { |
| 500 | return t.Time |
| 501 | } |
| 502 | return time.Time{} |
| 503 | } |
| 504 | |
| 505 | func pgTimePtr(t pgtype.Timestamp) *time.Time { |
| 506 | if t.Valid { |
no outgoing calls
no test coverage detected