package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Mar 7, 2022
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
¶
Clock defines the application's clock.
New creates a new Clock instance.
Now returns the current time, as provided by time.Now().
type Clocker interface {
Now() time.Time
}
Clocker defines the interface that clock dependencies must follow. This is used so that packages
are deterministic and reproductable.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.