An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.4% on proxy.golang.org
Top 0.8% dependent packages on proxy.golang.org
Top 1.2% dependent repos on proxy.golang.org

proxy.golang.org : github.com/Songmu/flextime

Package flextime improves time testability by replacing the backend clock flexibly. It has a set of following 9 functions similar to the standard time package, making it easy to migrate from standard time package. By default, it behaves the same as the standard time package, but allows us to change or fix the current time by using `Fix` and `Set` function. Also, we can replace the backend clock by implementing our own `Clock` interface and combining it with the Switch function.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21songmu/flextime
License: MIT
Latest release: over 4 years ago
First release: over 5 years ago
Namespace: github.com/Songmu
Dependent packages: 34
Dependent repositories: 21
Stars: 47 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 19 days ago

    Loading...
    Readme
    Loading...