Documentation ¶ Index ¶ func Parse(s string) (time.Duration, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Parse ¶ func Parse(s string) (time.Duration, error) Parse parses a duration string the same way kool timeout / for-every do: prefer time.ParseDuration; if that fails, treat a bare integer as seconds. The result must be greater than 0. Types ¶ This section is empty. Source Files ¶ View all Source files duration.go Click to show internal directories. Click to hide internal directories.