Documentation
¶
Index ¶
Constants ¶
Additional durations, a day is considered to be 24 hours
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶
ParseDuration parses a duration string. The following code is borrowed from time.ParseDuration https://cs.opensource.google/go/go/+/refs/tags/go1.22.5:src/time/format.go;l=1589 This function extends this function by allowing support for days and weeks. This function must only be used when days and weeks are necessary inputs in all other cases it is preferred that a user uses Go's time.ParseDuration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.