Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
type Clock interface { // Now returns the current time. Now() time.Time // After waits for the duration to elapse and then sends the current time After(d time.Duration) <-chan time.Time }
Clock is an interface for the time package
Click to show internal directories.
Click to hide internal directories.