MCPcopy
hub / github.com/robfig/cron / byTime

TypeAlias byTime

cron.go:79–79  ·  view source on GitHub ↗

byTime is a wrapper for sorting the entry array by time (with zero time at the end).

Source from the content-addressed store, hash-verified

77// byTime is a wrapper for sorting the entry array by time
78// (with zero time at the end).
79type byTime []*Entry
80
81func (s byTime) Len() int { return len(s) }
82func (s byTime) Swap(i, j int) { s[i], s[j] = s[j], s[i] }

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected