MCPcopy
hub / github.com/uber-go/zap / systemClock

Struct systemClock

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

systemClock implements default Clock that uses system time.

Source from the content-addressed store, hash-verified

38
39// systemClock implements default Clock that uses system time.
40type systemClock struct{}
41
42func (systemClock) Now() time.Time {
43 return time.Now()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected