Home / Generate unique id
This page shows how different Go libraries generate a unique id:
| github.com/rs/xid | d9fg9i1mgkj3l2ad5eeg |
| github.com/segmentio/ksuid | 3Gnf1hxTDC7A1Wbfxtf8xNBYq5E |
| github.com/kjk/betterguid | -Oy29erdG8GsTetQkgbo |
| github.com/oklog/ulid | 01KY1JNBF9S3T0CH02BNXK6DE4 |
| github.com/sony/sonyflake | 8bbaa6230000001 |
| github.com/chilts/sid | 1784612040169894506-5946191758756997498 |
| github.com/satori/go.uuid | 7a6445b7-6c4c-4bdb-a495-79aa807a5134 |
Learn more about those libraries.