Documentation ¶
Overview ¶
Package timeutil provides mechanisms for interacting with times and durations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HumanDuration ¶
HumanDuration prints the time duration without zero elements, rounding to seconds. It trims any trailing zero parts, so "1h0m0s" becomes "1h".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.