{"id":18581986,"url":"https://github.com/chilts/sid","last_synced_at":"2025-10-27T07:19:13.699Z","repository":{"id":57480911,"uuid":"84134046","full_name":"chilts/sid","owner":"chilts","description":"Generate Sortable Identifiers","archived":false,"fork":false,"pushed_at":"2019-06-07T04:24:38.000Z","size":6,"stargazers_count":33,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T06:41:18.709Z","etag":null,"topics":["go","id","identifier","lexicographical","sortable"],"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/chilts.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":"2017-03-07T00:10:21.000Z","updated_at":"2025-02-07T00:42:52.000Z","dependencies_parsed_at":"2022-09-26T17:40:21.101Z","dependency_job_id":null,"html_url":"https://github.com/chilts/sid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chilts%2Fsid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chilts%2Fsid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chilts%2Fsid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chilts%2Fsid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chilts","download_url":"https://codeload.github.com/chilts/sid/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":["go","id","identifier","lexicographical","sortable"],"created_at":"2024-11-07T00:08:44.839Z","updated_at":"2025-10-27T07:19:13.624Z","avatar_url":"https://github.com/chilts.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sid : generate sortable identifiers\n\n## Overview\n\n[![GoDoc](https://godoc.org/github.com/chilts/sid?status.svg)](https://godoc.org/github.com/chilts/sid)\n[![Build Status](https://travis-ci.org/chilts/sid.svg?branch=master)](https://travis-ci.org/chilts/sid)\n[![Code Climate](https://codeclimate.com/github/chilts/sid/badges/gpa.svg)](https://codeclimate.com/github/chilts/sid)\n[![Go Report Card](https://goreportcard.com/badge/github.com/chilts/sid)](https://goreportcard.com/report/github.com/chilts/sid)\n\nThis package is simple and only provides one function. The aim here is not pure speed, it is for an easy use-case\nwithout having to worry about goroutines and locking.\n\n## Install\n\n```\ngo get github.com/chilts/sid\n```\n\n## Example\n\n```\nid1 := sid.Id()\nid2 := sid.IdHex()\nid3 := sid.IdBase32()\nid4 := sid.IdBase64()\n\nfmt.Printf(\"id1 = %s\\n\", id1)\nfmt.Printf(\"id2 = %s\\n\", id2)\nfmt.Printf(\"id3 = %s\\n\", id3)\nfmt.Printf(\"id4 = %s\\n\", id4)\n\n// -\u003e \"id1 = 1559872035903071353-1186579057231285506\"\n// -\u003e \"id2 = 15a5cf57e7d2a837-6eaafe687e7b3ec3\"\n// -\u003e \"id3 = 1b9efqnl51jj7-4u66ikpfq9ugm\"\n// -\u003e \"id4 = 1IeSBAWW9kK-0cDG64GQgGJ\"\n```\n\n## Author\n\nBy [Andrew Chilton](https://chilts.org/), [@twitter](https://twitter.com/andychilton).\n\nFor [AppsAttic](https://appsattic.com/), [@AppsAttic](https://twitter.com/AppsAttic).\n\n## License\n\n[MIT](https://chilts.mit-license.org/2017/)\n\n(Ends)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilts%2Fsid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchilts%2Fsid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilts%2Fsid/lists"}