Home
Go package for better guid generation
The need to generate a globally unique identifier comes up often.
The way described in RFC 4122 is popular but it can be done better.
I wrote betterguid Go package that does it better.
Unique id generated by this package:
You can read a longer description of the algorithm.
My implementation is based on this JavaScript code.
Related: comparison of 7 Go libraries for unique id generation.
go programming
Feb 12 2023

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you: