Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
We use BurntSushi/toml package to parse configuration file. Unfortunately it doesn't support time.Duration out of the box. Here we introduce a workaround to be able to parse values provided in more friendly way, e.g. "4m20s".
func (*Duration) ToDuration ¶
func (*Duration) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.