Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/EngoEngine/engo
/ Now
Method
Now
clock.go:10–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
// this wihout relying on time
9
type
timer
interface
{
10
Now() int64
11
}
12
13
// realTime is the actual timer that uses time.Now().UnixNano()
Callers
5
TestTheTimerNow
Function · 0.65
Now
Method · 0.65
NewClock
Function · 0.65
Tick
Method · 0.65
Time
Method · 0.65
Implementers
2
testTime
clock_test.go
realTime
clock.go
Calls
no outgoing calls
Tested by
1
TestTheTimerNow
Function · 0.52