Files
MealQuest/internal/scheduler/export_test.go
T
2026-10-09 19:35:47 -04:00

10 lines
226 B
Go

package scheduler
import "time"
// SetClock makes now the clock and after the timer s fires by.
func SetClock(s *Scheduler, now func() time.Time, after func(time.Duration) <-chan time.Time) {
s.now = now
s.after = after
}