Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDateNotJSONString = errors.New("cannot parse non-string value as a date")
View Source
var ErrTimeNotJSONString = errors.New("cannot parse non-string value as a time")
Functions ¶
This section is empty.
Types ¶
type SerializableDate ¶
func (SerializableDate) MarshalJSON ¶
func (date SerializableDate) MarshalJSON() ([]byte, error)
func (*SerializableDate) UnmarshalJSON ¶
func (date *SerializableDate) UnmarshalJSON(data []byte) error
type SerializableTime ¶
func (SerializableTime) MarshalJSON ¶
func (t SerializableTime) MarshalJSON() ([]byte, error)
func (*SerializableTime) UnmarshalJSON ¶
func (t *SerializableTime) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.