{"id":23408496,"url":"https://github.com/fajarnugraha37/goid","last_synced_at":"2025-04-09T01:32:48.008Z","repository":{"id":269180640,"uuid":"906655557","full_name":"fajarnugraha37/goid","owner":"fajarnugraha37","description":"Go package for ULIDs and UUIDs.","archived":false,"fork":false,"pushed_at":"2024-12-21T14:49:23.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T19:51:51.748Z","etag":null,"topics":["go","golang","id","identifier","ulid","ulid-generator","uuid","uuid-generator","uuidv1","uuidv2","uuidv3","uuidv4","uuidv5","uuidv6","uuidv7"],"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/fajarnugraha37.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-21T14:19:14.000Z","updated_at":"2024-12-21T14:49:26.000Z","dependencies_parsed_at":"2024-12-21T15:27:24.658Z","dependency_job_id":"61db6e41-bd6b-42d4-83c3-d0de2d91ef8a","html_url":"https://github.com/fajarnugraha37/goid","commit_stats":null,"previous_names":["fajarnugraha37/goid"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarnugraha37%2Fgoid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarnugraha37%2Fgoid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarnugraha37%2Fgoid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fajarnugraha37%2Fgoid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fajarnugraha37","download_url":"https://codeload.github.com/fajarnugraha37/goid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247956796,"owners_count":21024603,"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":["go","golang","id","identifier","ulid","ulid-generator","uuid","uuid-generator","uuidv1","uuidv2","uuidv3","uuidv4","uuidv5","uuidv6","uuidv7"],"created_at":"2024-12-22T15:15:10.714Z","updated_at":"2025-04-09T01:32:47.983Z","avatar_url":"https://github.com/fajarnugraha37.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [WIP] GOID\n\ngoid is a Go library that provides implementations for ULID and various UUID versions, including UUID v1, v2, v3, v4, v5, v6, and v7.\n\n## Features\n- ULID: Universally Unique Lexicographically Sortable Identifier.\n    consists of 26 characters, which includes:\n    - A 48-bit timestamp (milliseconds since Unix epoch).\n    - A 80-bit random component.\n- UUID v1: Time-based UUID.\n    Combines the current timestamp with the MAC address of the generating machine: \n    - 60 bits for timestamp\n    - 48 bits for MAC address\n    - 14 bits for a sequence number.\n- UUID v2: DCE Security UUID. \n    Similar to v1 but includes a local domain identifier (e.g., POSIX UID/GID).\n- UUID v3: Name-based UUID using MD5:\n    - Generated from a namespace identifier and a name using the MD5 hashing algorithm.\n    - Deterministic: the same input will always produce the same UUID.\n- UUID v4: Random UUID.\n    - Generated using random numbers.\n    - Most commonly used due to its simplicity and randomness.\n- UUID v5: Name-based UUID using SHA-1.\n    - Similar to v3 but uses SHA-1 instead of MD5 for hashing.\n    - Also deterministic.\n- UUID v6: Time-based UUID (reordered).\n    - A variant of v1 that reorders the timestamp to improve sorting.\n- UUID v7: Time-based UUID (Unix epoch).\n    - A new version that uses a Unix timestamp in milliseconds and random bits.\n    - Designed for better performance and sorting.\n  \n## Installation\n\nTo install the goid library, use the following command:\n```bash\ngo get github.com/fajarnugraha37/goid\n```\n\n## Usage\n\n### Generating a ULID\n\n### Generating a UUID v1\n\n### Generating a UUID v2\n\n### Generating a UUID v3\n\n### Generating a UUID v4\n\n### Generating a UUID v5\n\n### Generating a UUID v6\n\n### Generating a UUID v7\n\n## Contributing\n\nContributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffajarnugraha37%2Fgoid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffajarnugraha37%2Fgoid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffajarnugraha37%2Fgoid/lists"}