Documentation
¶
Overview ¶
Package jsonencoding defines common types with JSON marshalers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration adds text/json (un)marshaling functions to time.Duration.
func (Duration) MarshalText ¶
MarshalText writes d as text.
func (*Duration) UnmarshalText ¶
UnmarshalText read d from a text representation.
Click to show internal directories.
Click to hide internal directories.