Versions in this module Expand all Collapse all v1 v1.0.1 Feb 15, 2024 v1.0.0 Feb 15, 2024 Changes in this version + var ErrNotInteger = errors.New("value is not an integer") + type Unix struct + func U(time time.Time) Unix + func UInt(ts int64) Unix + func UnixNow() Unix + func (u *Unix) Scan(src any) error + func (u *Unix) UnmarshalJSON(data []byte) error + func (u Unix) MarshalJSON() ([]byte, error) + func (u Unix) Value() (driver.Value, error) + type UnixMicro struct + func UMicro(time time.Time) UnixMicro + func UMicroInto(ts int64) UnixMicro + func UnixMicroNow() UnixMicro + func (um *UnixMicro) Scan(src any) error + func (um *UnixMicro) UnmarshalJSON(data []byte) error + func (um UnixMicro) MarshalJSON() ([]byte, error) + func (um UnixMicro) Value() (driver.Value, error) + type UnixMicroString struct + func (um *UnixMicroString) UnmarshalJSON(data []byte) error + func (um UnixMicroString) MarshalJSON() ([]byte, error) + type UnixMilli struct + func UM(time time.Time) UnixMilli + func UMInt(ts int64) UnixMilli + func UnixMilliNow() UnixMilli + func (um *UnixMilli) Scan(src any) error + func (um *UnixMilli) UnmarshalJSON(data []byte) error + func (um UnixMilli) MarshalJSON() ([]byte, error) + func (um UnixMilli) Value() (driver.Value, error) + type UnixMilliString struct + func (um *UnixMilliString) UnmarshalJSON(data []byte) error + func (um UnixMilliString) MarshalJSON() ([]byte, error) + type UnixNano struct + func UN(time time.Time) UnixNano + func UNInt(ts int64) UnixNano + func UnixNanoNow() UnixNano + func (un *UnixNano) Scan(src any) error + func (un *UnixNano) UnmarshalJSON(data []byte) error + func (un UnixNano) MarshalJSON() ([]byte, error) + func (un UnixNano) Value() (driver.Value, error) + type UnixNanoString struct + func (um *UnixNanoString) UnmarshalJSON(data []byte) error + func (um UnixNanoString) MarshalJSON() ([]byte, error) + type UnixString struct + func (u *UnixString) UnmarshalJSON(data []byte) error + func (u UnixString) MarshalJSON() ([]byte, error)