Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ UnixNextMinute
Method
UnixNextMinute
internal/utils/fasttime/time_fast.go:72–74 ·
view source on GitHub ↗
UnixNextMinute 获取下一分钟开始的时间戳
()
Source
from the content-addressed store, hash-verified
70
71
// UnixNextMinute 获取下一分钟开始的时间戳
72
func
(this *FastTime) UnixNextMinute() int64 {
73
return
this.UnixCell(60)
74
}
75
76
// UnixMilli 获取时间戳,精确到毫秒
77
func
(this *FastTime) UnixMilli() int64 {
Callers
1
TestFastTime_UnixFloor
Function · 0.80
Calls
1
UnixCell
Method · 0.95
Tested by
1
TestFastTime_UnixFloor
Function · 0.64