Documentation
¶
Overview ¶
Utilities for messing with time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶
Provides an API-compatible version of time.ParseDuration that accepts additional formats for parsing durations:
1y, 3year, 5years: Expands to (n*24*365) hours 1w, 3weeks, 5wks: Expands to (n*24*7) hours 1d, 1day, 5days: Expands to (n*24) hours
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.