{"id":18581948,"url":"https://github.com/coder/bigdur","last_synced_at":"2025-04-10T11:35:45.568Z","repository":{"id":57495783,"uuid":"178622079","full_name":"coder/bigdur","owner":"coder","description":"A Go package for parsing larger durations.","archived":false,"fork":false,"pushed_at":"2019-04-18T16:39:46.000Z","size":13,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T22:35:28.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/coder.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}},"created_at":"2019-03-30T23:31:04.000Z","updated_at":"2025-03-03T05:42:27.000Z","dependencies_parsed_at":"2022-08-28T20:11:24.787Z","dependency_job_id":null,"html_url":"https://github.com/coder/bigdur","commit_stats":null,"previous_names":["cdr/bigdur"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fbigdur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fbigdur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fbigdur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fbigdur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder","download_url":"https://codeload.github.com/coder/bigdur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208688,"owners_count":21065205,"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-11-07T00:08:31.894Z","updated_at":"2025-04-10T11:35:40.553Z","avatar_url":"https://github.com/coder.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bigdur\n\nA small Go package for parsing larger durations.\n\n[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](https://godoc.org/go.coder.com/bigdur)\n\n## Install\n\n```bash\ngo get -u go.coder.com/bigdur\n```\n\n## Overview\n\nA duration token consists of a series of coefficient and unit pairs.\n\nFor example:\n\n- `4d`\n- `4m4s`\n- `4mo2.2d5s`\n\nare valid.\n\nThe following units are available: \n\n| Abbreviation | Description |\n|--------------|-------------|\n| s            | 1 second    |\n| m            | 60 seconds  |\n| h            | 60 minutes  |\n| d            | 24 hours    |\n| w            | 7 days      |\n| mo           | 30 days     |\n| y            | 12 months   |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fbigdur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder%2Fbigdur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fbigdur/lists"}