Home / Generate unique id
This page shows how different Go libraries generate a unique id:
github.com/rs/xid | cokrjf1mgkj33a98gsn0 |
github.com/segmentio/ksuid | 2fZZS1V4vKZ9j40jBbP3EtsQtkc |
github.com/kjk/betterguid | -NwHzNXJCDUeeEF0vzk9 |
github.com/oklog/ulid | 01HW9FV24MSATYTNR9KA0VJ08K |
github.com/sony/sonyflake | 716d911a8000001 |
github.com/chilts/sid | 1714010556565429662-4219857768296703649 |
github.com/satori/go.uuid | 136c3719-8285-4e55-bfbc-2e23d032ab5c |
Learn more about those libraries.