MCPcopy
hub / github.com/bluele/gcache / fakeclock

Struct fakeclock

clock.go:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36type fakeclock struct {
37 now time.Time
38
39 mutex sync.RWMutex
40}
41
42func (fc *fakeclock) Now() time.Time {
43 fc.mutex.RLock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected