Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseDuration ¶
MustParseDuration turns a string into a duration. Panics if the string cannot be parsed.
Types ¶
type TimeProvider ¶
TimeProvider is an interface that provides time.
type TimeProviderImpl ¶
type TimeProviderImpl struct{}
TimeProviderImpl implements TimeProvider interface.
Click to show internal directories.
Click to hide internal directories.