Every grain of sand on earth has its own ID.
It should be noted that the algorithm used to generate the
SandID in this
project mainly come from the UUID version 1. Some adjustments were made to
enhance the efficiency of database insertion (see
- Extremely easy to use
- Fixed length
- 16 bytes
- 22 characters
- Huge capacity
- Up to 2e128
- URL safe
- Encoding friendly
- SQL friendly
Open your terminal and execute
$ go get github.com/aofei/sandid
The only requirement is the Go, at least v1.2.
If you want to discuss this project, or ask questions about it, simply post questions or ideas here.
This project is licensed under the Unlicense.
License can be found here.