13 lines
140 B
Go
Raw Normal View History

2025-11-25 22:08:04 +01:00
package timesource
import (
"context"
"time"
)
type Timesource interface {
Now() time.Time
Start(ctx context.Context) error
Stop()
}