Versions in this module Expand all Collapse all v0 v0.7.3 Mar 30, 2026 v0.7.2 Mar 26, 2026 v0.7.1 Mar 25, 2026 Changes in this version + type FlexibleInt64 int64 + func (fi *FlexibleInt64) UnmarshalJSON(data []byte) error + func (fi FlexibleInt64) MarshalJSON() ([]byte, error) v0.7.0 Mar 24, 2026 v0.6.0 Mar 16, 2026 v0.5.0 Mar 12, 2026 v0.4.0 Mar 11, 2026 Changes in this version + type FlexInt int32 + func (fi *FlexInt) UnmarshalJSON(data []byte) error + func (fi FlexInt) MarshalJSON() ([]byte, error) + type FlexibleTime struct + func (ft *FlexibleTime) UnmarshalJSON(data []byte) error + func (ft FlexibleTime) MarshalJSON() ([]byte, error) v0.3.0 Mar 9, 2026 v0.2.3 Mar 9, 2026 v0.2.2 Mar 4, 2026 v0.2.1 Feb 28, 2026 Changes in this version + type Date struct + Day int + Month time.Month + Year int + func DateOf(t time.Time) Date + func ParseDate(s string) (Date, error) + func Today() Date + func (d *Date) UnmarshalJSON(data []byte) error + func (d *Date) UnmarshalText(data []byte) error + func (d Date) AddDays(n int) Date + func (d Date) AddMonths(n int) Date + func (d Date) AddYears(n int) Date + func (d Date) After(other Date) bool + func (d Date) Before(other Date) bool + func (d Date) Compare(other Date) int + func (d Date) DaysSince(s Date) int + func (d Date) Equal(other Date) bool + func (d Date) GoString() string + func (d Date) In(loc *time.Location) time.Time + func (d Date) IsValid() bool + func (d Date) IsZero() bool + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) MarshalText() ([]byte, error) + func (d Date) String() string + func (d Date) UTC() time.Time + func (d Date) Weekday() time.Weekday