type Clock interface {
// Now returns the current clock time. Now() time.Time// After waits for the duration to elapse and then sends the// current time on the returned channel.
After(time.Duration) <-chan time.Time
}
Clock provides an interface for dealing with clocks.