https://github.com/wolfeidau/shortuuid
Use base58 encoding to shorten the string representation of uuid values.
https://github.com/wolfeidau/shortuuid
base58 go uuid
Last synced: 22 days ago
JSON representation
Use base58 encoding to shorten the string representation of uuid values.
- Host: GitHub
- URL: https://github.com/wolfeidau/shortuuid
- Owner: wolfeidau
- License: apache-2.0
- Created: 2020-05-23T06:27:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T09:37:38.000Z (11 months ago)
- Last Synced: 2025-06-29T15:41:55.667Z (3 months ago)
- Topics: base58, go, uuid
- Language: Go
- Homepage: https://github.com/wolfeidau/shortuuid
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shortuuid
This library uses [base58 encoding](https://en.wikipedia.org/wiki/Base58) to shorten the string representation of [Universally Unique IDentifier (UUID)](https://tools.ietf.org/html/rfc4122) values making them smaller when stored in a document database such as DynamoDB.
This library provides a reduction of ~39% in storage of the string representation of these values.
[](https://github.com/wolfeidau/shortuuid/actions?query=workflow%3AGo)
[](https://goreportcard.com/report/github.com/wolfeidau/shortuuid) [](https://godoc.org/github.com/wolfeidau/shortuuid) [](https://coveralls.io/github/wolfeidau/shortuuid?branch=master)# example
before `1c807ffe-b179-4a15-aa92-e06f5b5cf268`
after `4X8k1aRv5UMp9pdKzxaHwu`# License
This application is released under Apache 2.0 license and is copyright [Mark Wolfe](https://www.wolfe.id.au).