Documentation ¶
Index ¶
- type Date
- func (d Date) MarshalJSON() ([]byte, error)
- func (d Date) MarshalXML(decoder *xml.Encoder, element xml.StartElement) error
- func (d Date) String() string
- func (d *Date) UnmarshalJSON(data []byte) error
- func (d *Date) UnmarshalXML(decoder *xml.Decoder, element xml.StartElement) error
- func (d Date) Validate() (err error)
- type Time
- func (t Time) MarshalJSON() ([]byte, error)
- func (t Time) MarshalXML(decoder *xml.Encoder, element xml.StartElement) error
- func (t Time) String() string
- func (t *Time) UnmarshalJSON(data []byte) error
- func (t *Time) UnmarshalXML(decoder *xml.Decoder, element xml.StartElement) error
- func (t Time) Validate() (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
type Date null.Time
func DateFromTime ¶
func ParseDateFromString ¶
func (Date) MarshalJSON ¶
func (Date) MarshalXML ¶
func (*Date) UnmarshalJSON ¶
func (*Date) UnmarshalXML ¶
type Time ¶
type Time null.Time
func ParseNullTimeFromString ¶
func (Time) MarshalJSON ¶
func (Time) MarshalXML ¶
func (*Time) UnmarshalJSON ¶
func (*Time) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.