Package Usage: go: github.com/echlebek/crock
Package crock provides mock implementations of functions from the stdlib
time package.
crock deliberately does not specify any interfaces or shims for "real" time.
Consumers should create their own interfaces, and make a trivial shim to
integrate functions from package time into their code.
See the example for some stuff you can lift for this purpose.
2 versions
Latest release: almost 7 years ago
13 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/echlebek/crock