Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dur ¶
type Dur struct {
// contains filtered or unexported fields
}
Dur is used to UnmarshalTOML into a time.Duration value.
func (*Dur) UnmarshalJSON ¶
UnmarshalJSON parses a duration type from a config file.
func (*Dur) UnmarshalTOML ¶
UnmarshalTOML parses a duration type from a config file.
func (*Dur) UnmarshalText ¶
UnmarshalText parses a duration type from a config file.
Click to show internal directories.
Click to hide internal directories.