Documentation ¶
Index ¶
Constants ¶
View Source
const TimeUnitDescriptions = "ms - milliseconds\n" +
"s - seconds\n" +
"m - minutes\n" +
"h - hours\n" +
"d - days\n"
Variables ¶
View Source
var TimeUnitsMap = map[string]struct{}{"ms": {}, "s": {}, "h": {}, "d": {}, "m": {}}
empty struct has width of zero. It occupies zero bytes of storage
Functions ¶
func ConvertAgeToMillisecond ¶
func DisplayDuration ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.