https://github.com/tmc/pulid
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tmc/pulid
- Owner: tmc
- Created: 2020-12-29T02:34:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-29T04:55:57.000Z (over 5 years ago)
- Last Synced: 2024-12-04T13:03:24.036Z (over 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pulid
[](https://github.com/tmc/pulid/releases/latest)
[](https://github.com/tmc/pulid/actions?query=workflow%3ATest)
[](https://goreportcard.com/report/tmc/pulid)
[](https://pkg.go.dev/github.com/tmc/pulid)
Prefixed Universally Unique Lexicographically Sortable Identifier
Wraps [oklog/ulid](https://github.com/oklog/ulid) and adds a two-character prefix on ids.
This is similar to the pattern that Twilio uses in their entity IDs.
This allows encoding of entity types into identifiers.