Versions in this module Expand all Collapse all v1 v1.0.5 Aug 23, 2026 Changes in this version + type DBTime struct + func NewDBTime(t time.Time) DBTime + func NowDBTime() DBTime + func (d *DBTime) Scan(value any) error + func (d *DBTime) UnmarshalJSON(data []byte) error + func (d DBTime) Equal(other DBTime) bool + func (d DBTime) EqualTime(t time.Time) bool + func (d DBTime) IsZero() bool + func (d DBTime) MarshalJSON() ([]byte, error) + func (d DBTime) String() string + func (d DBTime) Time() time.Time + func (d DBTime) UTC() time.Time + func (d DBTime) Value() (driver.Value, error) + type ZonedTime struct + UTC DBTime + Zone string + func NewZonedTime(t time.Time, zoneName string) (ZonedTime, error) + func (z *ZonedTime) Scan(value any) error + func (z ZonedTime) IsZero() bool + func (z ZonedTime) Local() (time.Time, error) + func (z ZonedTime) Value() (driver.Value, error) v1.0.4 Aug 23, 2026