Versions in this module Expand all Collapse all v0 v0.2.0 Aug 6, 2026 Changes in this version + type Date struct + Time time.Time + Valid bool + func NewDate(t time.Time) Date + func (d *Date) Scan(value any) error + func (d *Date) UnmarshalJSON(data []byte) error + func (d Date) IsZero() bool + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) String() string + func (d Date) Value() (driver.Value, error) + type String struct + Val string + Valid bool + func NewString(s string) String + func (s *String) Scan(value any) error + func (s *String) UnmarshalJSON(data []byte) error + func (s String) IsZero() bool + func (s String) MarshalJSON() ([]byte, error) + func (s String) Ptr() *string + func (s String) String() string + func (s String) Value() (driver.Value, error) + type Time struct + Time time.Time + Valid bool + func NewTime(t time.Time) Time + func (t *Time) Scan(value any) error + func (t *Time) UnmarshalJSON(data []byte) error + func (t Time) IsZero() bool + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) String() string + func (t Time) Value() (driver.Value, error) + type Timestamp struct + Time time.Time + Valid bool + func CombineDateAndTime(d Date, t Time) Timestamp + func NewTimestamp(t time.Time) Timestamp + func (t *Timestamp) Scan(value any) error + func (t *Timestamp) UnmarshalJSON(data []byte) error + func (t Timestamp) IsZero() bool + func (t Timestamp) MarshalJSON() ([]byte, error) + func (t Timestamp) String() string + func (t Timestamp) Value() (driver.Value, error)