oklog/ulid
View on GitHub ↗ ★ 5,050 Go
Universally Unique Lexicographically Sortable Identifier (ULID) in Go
9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2016-12-06 · latest 2023-07-21
20082026
-
…+ monotonic random bytes for disambiguation while preserving ordering within the same millisecond. https://github.com/oklog/ulid
comment by tsenart · 2023-07-21 · in Nanosecond timestamp collisions are common -
…encoding test. Go has infrastructure for benchmarking and fuzzing. Use it! Also, you took code from https://github.com/oklog/ulid/blob/main/ulid.go which has "Copyright 2016 The Oklog Authors" but this is not mentionned in your base32.go.
comment by dolmen · 2023-06-29 · in Type-safe, K-sortable, globally unique identifier inspired by Stripe IDs -
…i recommend https://github.com/uber-go/goleak to detect leaks And then for GUID generation we use https://github.com/oklog/ulid instead of https://github.com/google/uuid/
comment by mparnisari · 2023-05-23 · in How to start a Go project in 2023 -
I have been using ULID(github.com/oklog/ulid) for years. Cannot imagine going back to AI uint64 ever again.
comment by hknmtt · 2022-12-30 · in ULIDs and Primary Keys -
ULIDs are base 32 as well. https://github.com/oklog/ulid
comment by hermanradtke · 2022-01-08 · in UUIDs are popular, but bad for performance (2019) -
github.com/oklog/ulid does something similar: https://godoc.org/github.com/oklog/ulid#Monotonic
comment by ngrilly · 2018-12-29 · in ULID: Universally Unique Lexicographically Sortable Identifier -
…used in MSSQL apps since about 2003 (although people called them COMBs instead of ULIDs back then) https://github.com/oklog/ulid
comment by tatersolid · 2018-01-02 · in SQL Keys in Depth -
Related: https://github.com/oklog/ulid
comment by Sevein · 2017-06-07 · in A Brief History of the UUID -
▲ 89
Universally Unique Lexicographically Sortable Identifier in Gostory by tsenart · 2016-12-06 · 52 comments