Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + type Clock clock.Clock + type Mock struct + func NewMock(t testing.TB) *Mock + func NewMockAt(t testing.TB, now time.Time) *Mock + func (m *Mock) After(d time.Duration) <-chan time.Time + func (m *Mock) Sleep(d time.Duration) + func (m *Mock) Ticker(d time.Duration) *clock.Ticker + func (m *Mock) Timer(d time.Duration) *clock.Timer + func (m *Mock) TimerCh() <-chan time.Duration + func (m *Mock) WaitForAfter(timeout time.Duration, format string, args ...interface{}) + func (m *Mock) WaitForAfterCh() <-chan time.Duration + func (m *Mock) WaitForSleep(timeout time.Duration, format string, args ...interface{}) + func (m *Mock) WaitForTicker(timeout time.Duration, format string, args ...interface{}) + func (m *Mock) WaitForTickerMulti(timeout time.Duration, count int, format string, args ...interface{}) + func (m *Mock) WaitForTimer(timeout time.Duration, format string, args ...interface{})