{"id":17617389,"url":"https://github.com/bsm/go-guid","last_synced_at":"2025-04-30T18:21:17.657Z","repository":{"id":32188626,"uuid":"35762128","full_name":"bsm/go-guid","owner":"bsm","description":"MongoDB style globally unique identifiers in Go","archived":false,"fork":false,"pushed_at":"2017-08-31T10:32:11.000Z","size":13,"stargazers_count":16,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-25T14:03:36.794Z","etag":null,"topics":["go","golang","guid","unique-id"],"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/bsm.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":"2015-05-17T10:38:10.000Z","updated_at":"2024-07-09T09:49:03.000Z","dependencies_parsed_at":"2022-09-26T19:13:39.982Z","dependency_job_id":null,"html_url":"https://github.com/bsm/go-guid","commit_stats":null,"previous_names":["bsm/guid"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fgo-guid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fgo-guid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fgo-guid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fgo-guid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsm","download_url":"https://codeload.github.com/bsm/go-guid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251758240,"owners_count":21639003,"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","guid","unique-id"],"created_at":"2024-10-22T19:13:24.397Z","updated_at":"2025-04-30T18:21:17.634Z","avatar_url":"https://github.com/bsm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GUID\n\n[![Build Status](https://travis-ci.org/bsm/go-guid.png?branch=master)](https://travis-ci.org/bsm/go-guid)\n[![GoDoc](https://godoc.org/github.com/bsm/go-guid?status.png)](http://godoc.org/github.com/bsm/go-guid)\n[![Go Report Card](https://goreportcard.com/badge/github.com/bsm/go-guid)](https://goreportcard.com/report/github.com/bsm/go-guid)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nSimple, thread-safe MongoDB style GUID generator.\n\n### Examples\n\n```go\nfunc main {\n\t// Create a new 12-byte globally-unique identifier\n\tid := guid.New96()\n\tfmt.Println(hex.EncodeToString(id.Bytes()))\n}\n```\n\n```go\nfunc main {\n\t// Create a new 16-byte globally-unique identifier\n\tid := guid.New128()\n\tfmt.Println(hex.EncodeToString(id.Bytes()))\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fgo-guid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsm%2Fgo-guid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fgo-guid/lists"}