Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SecondsPerMinute 定义每分钟的秒数 SecondsPerMinute = 60 // SecondsPerHour 定义每小时的秒数 SecondsPerHour = SecondsPerMinute * 60 // SecondsPerDay 定义每天的秒数 SecondsPerDay = SecondsPerHour * 24 )
Variables ¶
This section is empty.
Functions ¶
func ResolveTime ¶
ResolveTime 将传入的“秒”解析为3种时间单位
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.