Home
Software
Writings
Go package for better guid generation
go programming
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.
Written on Feb 12 2015. Topics: go, programming.
home
Found a mistake, have a comment? Let me know.

Feedback about page:

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