MustMakeDTimestampTZ wraps MakeDTimestampTZ but panics if there is an error. This is intended for testing applications only.
(t time.Time, precision time.Duration)
| 1079 | // MustMakeDTimestampTZ wraps MakeDTimestampTZ but panics if there is an error. |
| 1080 | // This is intended for testing applications only. |
| 1081 | func MustMakeDTimestampTZ(t time.Time, precision time.Duration) *DTimestampTZ { |
| 1082 | ret, err := MakeDTimestampTZ(t, precision) |
| 1083 | if err != nil { |
| 1084 | panic(err) |
| 1085 | } |
| 1086 | return ret |
| 1087 | } |
| 1088 | |
| 1089 | // ParseDTimestampTZ parses and returns the *DTimestampTZ Datum value represented by |
| 1090 | // the provided string in the provided location, or an error if parsing is unsuccessful. |
no test coverage detected