MCPcopy Index your code
hub / github.com/dnote/dnote / New

Function New

pkg/clock/clock.go:57–59  ·  view source on GitHub ↗

New returns an instance of a real clock

()

Source from the content-addressed store, hash-verified

55
56// New returns an instance of a real clock
57func New() Clock {
58 return &clock{}
59}
60
61// NewMock returns an instance of a mock clock
62func NewMock() *Mock {

Callers 3

setupCtxFunction · 0.92
getClockMethod · 0.92
initAppFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected