/ctxtime

Package for accessing the current time, in a way conducive to testing.

Primary LanguageGoOtherNOASSERTION

PkgGoDev

CtxTime

The ctxtime package is a simple package for accessing the current time with a context-based method for overriding the system time where necessary, for example in tests.