Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a TOML datatype A duration string is a possibly signed sequence of decimal numbers and a unit suffix, such as "300s", "1.5h" or "5d". Valid time units are "s", "m", "h", "d", "w".
func (*Duration) UnmarshalText ¶
UnmarshalTOML parses a duration string.
Click to show internal directories.
Click to hide internal directories.