Home / Generate unique id

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

github.com/rs/xid cvb6mbhmgkjffdeplj30
github.com/segmentio/ksuid 2uO2dy0EYn3C7mVYt5WJABtmXVc
github.com/kjk/betterguid -OLSZewRfAH_wJzfZjbP
github.com/oklog/ulid 01JPES5BRW23MW570X2QQHBQ9X
github.com/sony/sonyflake 7be4e624f000001
github.com/chilts/sid 1742105390876857065-4986565264352820443
github.com/satori/go.uuid 778e63de-6981-4ef2-bd1c-cc071bac4ace

Learn more about those libraries.