MCPcopy Create free account
hub / github.com/devfeel/dottask / StandardCounter

Struct StandardCounter

counter.go:23–26  ·  view source on GitHub ↗

StandardCounter is the standard implementation of a Counter

Source from the content-addressed store, hash-verified

21
22// StandardCounter is the standard implementation of a Counter
23type StandardCounter struct {
24 count int64
25 startTime time.Time
26}
27
28func (c *StandardCounter) StartTime() time.Time {
29 return c.startTime

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected