Documentation ¶
Overview ¶
Package msg provides some tools for printing nice messages to the terminal.
The location of the call is automatically prepended with all the calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationToSeconds ¶
DurationToSeconds converts a human-readable duration to the number of seconds. A "duration" is simply a number with a suffix. Accepted suffixes are:
no suffix: seconds s: seconds m: minutes h: hours d: days w: weeks M: months (a month is 30.5 days) y: years (a year is always 365 days)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.