Every grain of sand on Earth has its own ID.
MIT License
Every grain of sand on Earth has its own ID.
Note that the algorithm used to generate the
sandid.SandID
mainly come
from the UUID version 1. Some adjustments
were made to enhance the efficiency of database insertion (see
this).
^[A-Za-z0-9-_]{22}$
encoding.TextMarshaler
and encoding.TextUnmarshaler
encoding.BinaryMarshaler
and encoding.BinaryUnmarshaler
json.Marshaler
and json.Unmarshaler
sandid.NullSandID
supportsql.Scanner
and driver.Valuer
Open your terminal and execute
$ go get github.com/aofei/sandid
done.
The only requirement is the Go, at least v1.13.
If you want to discuss SandID, or ask questions about it, simply post questions or ideas here.
If you want to help build SandID, simply follow this to send pull requests here.
This project is licensed under the MIT License.
License can be found here.