Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2023 (3)
20082026
  1. …+ monotonic random bytes for disambiguation while preserving ordering within the same millisecond. https://github.com/oklog/ulid
  2. …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.
  3. …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
  4. 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
  5. ULIDs are base 32 as well. https://github.com/oklog/ulid
  6. github.com/oklog/ulid does something similar: https://godoc.org/github.com/oklog/ulid#Monotonic
  7. …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
  8. Related: https://github.com/oklog/ulid
    comment by Sevein · 2017-06-07 · in A Brief History of the UUID