Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenAndDecodeDisallowUnknownFields ¶
OpenAndDecodeDisallowUnknownFields opens the file at path and decodes it into v, disallowing unknown fields.
Types ¶
type Duration ¶
Duration is time.Duration but implements encoding.TextMarshaler and encoding.TextUnmarshaler.
func (Duration) MarshalText ¶
MarshalText implements encoding.TextMarshaler.MarshalText.
func (*Duration) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.UnmarshalText.
Click to show internal directories.
Click to hide internal directories.