https://github.com/cloudfoundry/clock
time provider & rich fake for Go
https://github.com/cloudfoundry/clock
cff-wg-app-runtime-platform
Last synced: 29 days ago
JSON representation
time provider & rich fake for Go
- Host: GitHub
- URL: https://github.com/cloudfoundry/clock
- Owner: cloudfoundry
- License: apache-2.0
- Created: 2015-01-25T19:25:51.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2026-01-13T00:35:19.000Z (3 months ago)
- Last Synced: 2026-01-14T17:08:36.691Z (3 months ago)
- Topics: cff-wg-app-runtime-platform
- Language: Go
- Homepage:
- Size: 5.76 MB
- Stars: 30
- Watchers: 24
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Notice: NOTICE
Awesome Lists containing this project
README
# Clock
[](https://goreportcard.com/report/code.cloudfoundry.org/clock)
[](https://pkg.go.dev/code.cloudfoundry.org/clock)
Provides a Clock interface, useful for injecting time dependencies in
tests.
> \[!NOTE\]
>
> This repository should be imported as `code.cloudfoundry.org/clock`.
# Contributing
See the [Contributing.md](./.github/CONTRIBUTING.md) for more
information on how to contribute.
# Working Group Charter
This repository is maintained by [App Runtime
Platform](https://github.com/cloudfoundry/community/blob/main/toc/working-groups/app-runtime-platform.md)
under `Diego` area.
> \[!IMPORTANT\]
>
> Content in this file is managed by the [CI task
> `sync-readme`](https://github.com/cloudfoundry/wg-app-platform-runtime-ci/blob/main/shared/tasks/sync-readme/metadata.yml)
> and is generated by CI following a convention.