Re:UUID package coming to Go standard library
by efilife on Sunday March 08, 2026 @08:01AM
(#47296646)
What do you mean? Are you talking about validation of UUIDs?
[ Parent
| on HN ]
Re:UUID package coming to Go standard library
by 3eb7988a1663 on Sunday March 08, 2026 @12:06PM
(#47298407)
If you generate random bytes, which are unlikely to conform to the UUIDv4 spec, my guess is that most libraries will silently accept the id. That is, generating random bytes, will probably work just work.