Documentation ¶
Overview ¶
Package toml adds support to marshal and unmarshal types not in the official TOML spec.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a TOML wrapper type for time.Duration.
func (Duration) MarshalText ¶
MarshalText converts a duration to a string for decoding toml
func (*Duration) UnmarshalText ¶
UnmarshalText parses a TOML value into a duration value.
Click to show internal directories.
Click to hide internal directories.