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

Top 7.5% on proxy.golang.org
Top 1.1% dependent packages on proxy.golang.org
Top 2.3% dependent repos on proxy.golang.org

proxy.golang.org : github.com/smartystreets/clock

Package clock is a near drop-in replacement for time.Now().UTC() and time.Sleep(). The structs defined here are intended to be used as pointer fields on struct types. When nil, these references forward to the corresponding functions in the standard time package. When not nil they perform behavior that facilitates unit testing when accessing the current time or sleeping is involved. The main advantage to this approach is that it is not necessary to provide a non-nil instance in 'contructor' functions or wireup for production code. It is also still trivial to set a non-nil reference in test code.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/smartystreets/clock
Keywords: go , mocking-utility , testing-tools , time
License: MIT
Latest release: about 4 years ago
First release: almost 6 years ago
Namespace: github.com/smartystreets
Dependent packages: 21
Dependent repositories: 5
Stars: 4 on GitHub
Forks: 1 on GitHub
Docker dependents: 1
Docker downloads: 15
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago

Top 8.2% on proxy.golang.org
github.com/smartystreets/sqldb v1.0.2
A light adapter over Go's database/sql package.
3 versions - Latest release: about 5 years ago - 3 stars on GitHub
github.com/smarty/sqldb v1.0.2
A light adapter over Go's database/sql package.
3 versions - Latest release: about 5 years ago - 3 stars on GitHub
Top 8.7% on proxy.golang.org
github.com/smartystreets/httpx v1.3.2
Functions and wrappers for common http operations and components.
6 versions - Latest release: over 5 years ago - 1 dependent package - 1 dependent repositories - 4 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/smartystreets/joyride v1.0.0
Runner for stateful services.
1 version - Latest release: almost 6 years ago - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/smartystreets-archives/acidic v1.0.0 removed
1 version - Latest release: almost 6 years ago
Top 8.2% on proxy.golang.org
github.com/smartystreets/acidic v1.0.0
1 version - Latest release: almost 6 years ago
Top 6.8% on proxy.golang.org
github.com/smarty-archives/acidic v1.0.0
A transactional layer that provides ACID properties to generic key-value storage engines such as ...
1 version - Latest release: almost 6 years ago - 10 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.