Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DateOnly ¶
DateOnly is a custom date type with 'yyyy-mm-dd' format
func NewDateOnly ¶
NewDateOnly creates a new DateOnly instance
func (DateOnly) MarshalJSON ¶
func (*DateOnly) UnmarshalJSON ¶
type TimeOnly ¶
TimeOnly is a custom date type with 'yyyy-mm-dd' format
func (TimeOnly) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for TimeOnly
func (*TimeOnly) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for TimeOnly
Click to show internal directories.
Click to hide internal directories.