package
Version:
v0.0.0-...-b6a5b4f
Opens a new window with list of versions in this module.
Published: Feb 15, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var UnitMeasures = map[string]int64{
"month": 2629800000,
"week": 604800000,
"day": 86400000,
"hour": 3600000,
"minute": 60000,
}
Unit represents duration unit measurements in milliseconds
HumanizeDuration converts duration in milliseconds to a human-readable format
Source Files
¶
Click to show internal directories.
Click to hide internal directories.