{"id":16884835,"url":"https://github.com/f2prateek/clock","last_synced_at":"2025-10-16T09:38:38.482Z","repository":{"id":57513663,"uuid":"50418838","full_name":"f2prateek/clock","owner":"f2prateek","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-14T00:40:07.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T07:12:05.955Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f2prateek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-26T09:38:27.000Z","updated_at":"2019-01-10T02:43:55.000Z","dependencies_parsed_at":"2022-09-26T17:51:09.719Z","dependency_job_id":null,"html_url":"https://github.com/f2prateek/clock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2prateek%2Fclock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2prateek%2Fclock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2prateek%2Fclock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2prateek%2Fclock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f2prateek","download_url":"https://codeload.github.com/f2prateek/clock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560386,"owners_count":20472218,"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","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"}},"keywords":[],"created_at":"2024-10-13T16:31:27.966Z","updated_at":"2025-10-16T09:38:33.430Z","avatar_url":"https://github.com/f2prateek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clock\n\nA clock abstraction providing access to the current time.\nIt's primary purpose is to allow alternate clocks to be plugged in for tests.\n\n3 implementations are provided out of the box:\n\n1. `Default`: Provides the current local time.\n2. `Fixed`: Always provides a fixed time.\n3. `Offset`: Provides the time from a different clock with the specified duration added.\n4. `In`/`DefaultIn`: Provides the time from a given clock/default clock in the given time zone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2prateek%2Fclock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff2prateek%2Fclock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2prateek%2Fclock/lists"}