package
Version:
v0.11.1
Opens a new window with list of versions in this module.
Published: Feb 10, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Clock interface {
Now() time.Time
}
Clock knows how to get the current time.
It can be used to fake out timing for testing.
Now returns the current time
Now returns the the current time
Source Files
¶
Click to show internal directories.
Click to hide internal directories.