Home / Generate unique id

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

github.com/rs/xid cvndk69mgkjffdeplk3g
github.com/segmentio/ksuid 2vEODojHkqQF3cEd5fP0D4JyvSP
github.com/kjk/betterguid -OMx-zITuGLVDiPOVY12
github.com/oklog/ulid 01JQYG7X6YNWF9W2PS1W651N6W
github.com/sony/sonyflake 7c7d9b616000001
github.com/chilts/sid 1743706649823663909-6170710864961031134
github.com/satori/go.uuid eb6122c5-c968-429d-ae39-c06f7137e8a6

Learn more about those libraries.