{"id":16092343,"url":"https://github.com/alecthomas/units","last_synced_at":"2025-05-14T12:13:04.831Z","repository":{"id":567332,"uuid":"21487753","full_name":"alecthomas/units","owner":"alecthomas","description":"Helpful unit multipliers and functions for Go","archived":false,"fork":false,"pushed_at":"2024-11-25T00:12:17.000Z","size":17,"stargazers_count":127,"open_issues_count":7,"forks_count":32,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T00:03:20.715Z","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/alecthomas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-07-04T06:35:45.000Z","updated_at":"2024-12-29T05:09:05.000Z","dependencies_parsed_at":"2023-12-02T08:25:00.625Z","dependency_job_id":"c73bb94c-820e-46ab-8647-e04cb001f496","html_url":"https://github.com/alecthomas/units","commit_stats":{"total_commits":19,"total_committers":11,"mean_commits":"1.7272727272727273","dds":0.5789473684210527,"last_synced_commit":"0f3dac36c52b29c22285af9a6e6593035dadd74c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Funits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Funits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Funits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Funits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alecthomas","download_url":"https://codeload.github.com/alecthomas/units/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248405098,"owners_count":21097906,"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-09T16:07:11.104Z","updated_at":"2025-04-11T20:38:17.953Z","avatar_url":"https://github.com/alecthomas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/alecthomas/units.svg)](https://pkg.go.dev/github.com/alecthomas/units)\n\n# Units - Helpful unit multipliers and functions for Go\n\nThe goal of this package is to have functionality similar to the [time](http://golang.org/pkg/time/) package.\n\nIt allows for code like this:\n\n```go\nn, err := ParseBase2Bytes(\"1KB\")\n// n == 1024\nn = units.Mebibyte * 512\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecthomas%2Funits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falecthomas%2Funits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecthomas%2Funits/lists"}