News for hackers. Stuff that matters.
Re:Avoid UUIDv4 Primary Keys by ncruces on Monday December 15, 2025 @04:51PM (#46281237)
> You're not going to try and extract a timestamp from a uuid.

So, random library: https://pkg.go.dev/github.com/google/uuid#UUID.Time

> Time returns the time in 100s of nanoseconds since 15 Oct 1582 encoded in uuid. The time is only defined for version 1, 2, 6 and 7 UUIDs.

There are no comments on this comment yet.