Home / Generate unique id

This page shows how different Go libraries generate a unique id:

github.com/rs/xid d2pbj6hmgkj99tnqvogg
github.com/segmentio/ksuid 3202tvToDlGjAAGx9sA45IMnEyx
github.com/kjk/betterguid -OYu8FGG5Zis1giqU53U
github.com/oklog/ulid 01K3X2A12H0S72HSJHEQ7E08KC
github.com/sony/sonyflake 8145d046e000001
github.com/chilts/sid 1756543386706141067-4154439902106049767
github.com/satori/go.uuid a9c12b6e-d7c7-43a7-a24a-be2fa95bf04a

Learn more about those libraries.