{"id":17649116,"url":"https://github.com/bndw/id","last_synced_at":"2025-10-26T20:37:41.425Z","repository":{"id":112387878,"uuid":"244555203","full_name":"bndw/id","owner":"bndw","description":"A lightweight wrapper for generating common identifiers","archived":false,"fork":false,"pushed_at":"2021-01-21T04:19:47.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T09:53:51.977Z","etag":null,"topics":["namegenerator","shortid","uuid"],"latest_commit_sha":null,"homepage":"","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/bndw.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-03T06:03:56.000Z","updated_at":"2021-01-21T04:16:54.000Z","dependencies_parsed_at":"2023-04-30T01:19:04.081Z","dependency_job_id":null,"html_url":"https://github.com/bndw/id","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bndw%2Fid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bndw","download_url":"https://codeload.github.com/bndw/id/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290581,"owners_count":20753724,"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":["namegenerator","shortid","uuid"],"created_at":"2024-10-23T11:24:10.441Z","updated_at":"2025-10-26T20:37:41.336Z","avatar_url":"https://github.com/bndw.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# id\n\nA lightweight wrapper for generating common identifiers.\n\n```go\npackage main\n\nimport (\n    \"github.com/bndw/id\"\n)\n\nfunc main() {\n    _ = id.Short()              // =\u003e \"tUn5nCxGR\"\n    _ = id.ShortPrefix(\"foo_\")  // =\u003e \"foo_tUn5nCxGR\"\n    _ = id.UUID()               // =\u003e \"5c5aa201-e466-4f64-bac8-5cacd39160b5\"\n    _ = id.UUIDPrefix(\"foo_\")   // =\u003e \"foo_5c5aa201-e466-4f64-bac8-5cacd39160b5\"\n    _ = id.Name()               // =\u003e \"happy_dubinsky\"\n    _ = id.NamePrefix(\"foo_\")   // =\u003e \"foo_happy_dubinsky\"\n}\n```\n\n| Function | Description | Example | Source |\n| -------- | ----------- | ------- | ------ |\n| `id.Short` | Short, fully unique, non-sequential, URL friendly Ids | `tUn5nCxGR` | [teris-io/shortid] |\n| `id.ShortPrefix` | Prefixed, short, fully unique, non-sequential, URL friendly Ids | `foo_tUn5nCxGR` | [teris-io/shortid] |\n| `id.UUID` | UUID (v4) | `5c5aa201-e466-4f64-bac8-5cacd39160b5`| [google/uuid] |\n| `id.UUIDPrefix` | Prefixed UUID (v4) | `foo_5c5aa201-e466-4f64-bac8-5cacd39160b5`| [google/uuid] |\n| `id.Name` | Docker-style names | `happy_dubinsky`| [moby/namegenerator] |\n| `id.NamePrefix` | Docker-style names | `foo_happy_dubinsky`| [moby/namegenerator] |\n\n[teris-io/shortid]: https://github.com/teris-io/shortid\n[google/uuid]: https://github.com/google/uuid\n[moby/namegenerator]: https://github.com/moby/moby/tree/master/pkg/namesgenerator\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbndw%2Fid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbndw%2Fid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbndw%2Fid/lists"}