{"id":3493908,"name":"github.com/benbjohnson/clock","ecosystem":"go","description":"","homepage":"https://github.com/benbjohnson/clock","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/benbjohnson/clock","keywords_array":[],"namespace":"github.com/benbjohnson","versions_count":11,"first_release_published_at":"2019-10-31T14:12:36.000Z","latest_release_published_at":"2023-05-18T03:37:18.000Z","latest_release_number":"v1.3.5","last_synced_at":"2026-06-19T10:02:40.311Z","created_at":"2022-04-10T19:20:13.991Z","updated_at":"2026-06-19T10:02:40.311Z","registry_url":"https://pkg.go.dev/github.com/benbjohnson/clock","install_command":"go get github.com/benbjohnson/clock","documentation_url":"https://pkg.go.dev/github.com/benbjohnson/clock#section-documentation","metadata":{},"repo_metadata":{"id":20092887,"uuid":"23362234","full_name":"benbjohnson/clock","owner":"benbjohnson","description":"Clock is a small library for mocking time in Go.","archived":true,"fork":false,"pushed_at":"2023-05-18T03:44:34.000Z","size":78,"stargazers_count":684,"open_issues_count":3,"forks_count":119,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-08-28T14:50:37.372Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benbjohnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2014-08-26T18:24:30.000Z","updated_at":"2025-08-23T19:57:32.000Z","dependencies_parsed_at":"2023-10-20T18:21:35.589Z","dependency_job_id":null,"html_url":"https://github.com/benbjohnson/clock","commit_stats":{"total_commits":52,"total_committers":24,"mean_commits":"2.1666666666666665","dds":0.7884615384615384,"last_synced_commit":"2fbf0cb60cfd2bd74f35e61d0333b7c2bd8cb75e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/benbjohnson/clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbjohnson","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/sbom","scorecard":{"id":231502,"data":{"date":"2025-08-11","repo":{"name":"github.com/benbjohnson/clock","commit":"fa525c8ac4e629b5385b7b6546d69e0e7de0560e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Code-Review","score":7,"reason":"Found 9/12 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/benbjohnson/clock/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/benbjohnson/clock/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/benbjohnson/clock/build.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T04:56:40.374Z","repository_id":20092887,"created_at":"2025-08-17T04:56:40.374Z","updated_at":"2025-08-17T04:56:40.374Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272550392,"owners_count":24953719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"benbjohnson","name":"Ben Johnson","uuid":"118015","kind":"user","description":"","email":"","website":"https://litestream.io","location":"Colorado","twitter":"benbjohnson","company":"Fly.io","icon_url":"https://avatars.githubusercontent.com/u/118015?u=bed5e7be3a3f656ac76eebc29b97fffe53f9d891\u0026v=4","repositories_count":165,"last_synced_at":"2025-08-28T09:23:32.080Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/benbjohnson","funding_links":[],"total_stars":25330,"followers":4103,"following":59,"created_at":"2022-11-02T16:49:35.355Z","updated_at":"2025-08-28T09:23:32.080Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbjohnson","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbjohnson/repositories"},"tags":[{"name":"v1.3.5","sha":"96c602caabb567343046c08a8fca8560b4f00bb4","kind":"commit","published_at":"2023-05-18T03:37:18.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.3.5","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.3.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.3.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.5/manifests"},{"name":"v1.3.4","sha":"4362d7026a7b38ddacc1c1174fa391ee213a2a10","kind":"commit","published_at":"2023-04-27T23:21:11.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.3.4","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.3.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.3.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.4/manifests"},{"name":"v1.3.3","sha":"c7aedc18db51c2b40b88eb40c5efbd64fc94f652","kind":"commit","published_at":"2023-04-23T17:25:23.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.3.3","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.3.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.3.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.3/manifests"},{"name":"v1.3.1","sha":"f9fef96d41a783d7a3d99ed1a72659abff60d9b6","kind":"commit","published_at":"2023-04-19T17:10:22.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.3.1","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.1/manifests"},{"name":"v1.3.0","sha":"68df829297d4f02d5997a02f8c0e8d4b12f0b2a3","kind":"commit","published_at":"2021-11-15T23:27:27.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.3.0","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.3.0/manifests"},{"name":"v1.2.0","sha":"26f124ecc9e919015e3d2a8c3cb83bafb556356d","kind":"commit","published_at":"2021-11-01T15:29:23.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.2.0","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"307483a2173c76d3ded778bd68214865fcf05ec8","kind":"commit","published_at":"2020-11-24T13:07:21.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.1.0","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.1.0/manifests"},{"name":"v1.0.3","sha":"d30813fdb557385ec7cbe73036752baa31e72664","kind":"commit","published_at":"2020-06-10T21:56:16.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.0.3","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"206a2de8a5aeb2a21420b0550a67712538e103c4","kind":"commit","published_at":"2020-05-18T14:35:12.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.0.2","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"dcb3cf9a2a5365f0f1505ab0029497da5118443c","kind":"commit","published_at":"2020-05-11T14:19:51.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.0.1","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"e7ca2eb904dce84a821b09d9285dc600d6174b8f","kind":"commit","published_at":"2019-10-31T14:12:36.000Z","download_url":"https://codeload.github.com/benbjohnson/clock/tar.gz/v1.0.0","html_url":"https://github.com/benbjohnson/clock/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/benbjohnson/clock@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-08-28T20:39:40.817Z","dependent_packages_count":5672,"downloads":null,"downloads_period":null,"dependent_repos_count":36875,"rankings":{"downloads":null,"dependent_repos_count":0.030183968206220158,"dependent_packages_count":0.05944393738571929,"stargazers_count":2.3807348256259835,"forks_count":2.5736452890936286,"docker_downloads_count":0.03346929807900602,"average":1.0154954636781115},"purl":"pkg:golang/github.com/benbjohnson/clock","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/benbjohnson/clock","docker_dependents_count":1251,"docker_downloads_count":9324049147,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/benbjohnson/clock","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/benbjohnson/clock/dependencies","status":null,"funding_links":[],"critical":true,"issue_metadata":{"last_synced_at":"2025-08-28T20:39:37.423Z","issues_count":15,"pull_requests_count":43,"avg_time_to_close_issue":58921791.666666664,"avg_time_to_close_pull_request":14871931.46511628,"issues_closed_count":12,"pull_requests_closed_count":43,"pull_request_authors_count":33,"issue_authors_count":13,"avg_comments_per_issue":1.6666666666666667,"avg_comments_per_pull_request":1.186046511627907,"merged_pull_requests_count":30,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fclock/issues","maintainers":[{"login":"djmitche","count":8,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/djmitche"},{"login":"danielnelson","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/danielnelson"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fbenbjohnson%2Fclock/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fbenbjohnson%2Fclock/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fbenbjohnson%2Fclock/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fbenbjohnson%2Fclock/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fbenbjohnson%2Fclock/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fbenbjohnson%2Fclock/codemeta","maintainers":[]}