Closed longquanzheng closed 11 months ago
oh, turns out that https://github.com/segmentio/ksuid is longer than uuid
but it turns out the https://github.com/jetpack-io/typeid is depending on https://github.com/gofrs/uuid for uuid v7 generation, so let's just use https://github.com/gofrs/uuid
see https://github.com/xdblab/xdb/pull/30#discussion_r1349539651 . https://buildkite.com/blog/goodbye-integers-hello-uuids
Here is a popular implementation in Go: https://github.com/jetpack-io/typeid