Documentation ¶ Index ¶ func Parse(value string) (time.Duration, bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Parse ¶ func Parse(value string) (time.Duration, bool) Parses a duration string with support for d (days) and w (weeks). Accepts the same units as time.ParseDuration plus d and w, and also allows mixed units such as "1h30m" or "2d3h". Types ¶ This section is empty. Source Files ¶ View all Source files parse.go Click to show internal directories. Click to hide internal directories.