package
Version:
v0.0.0-...-53e80a7
Opens a new window with list of versions in this module.
Published: Nov 25, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
MockProvider mocks Provider
Now returns the mocked time.
type Provider interface {
Now() time.Time
}
Provider provides an interface for abstracting time.
NewProvider Provider contructor that returns the default time provider.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.