I think it’s time for the Go maintainers to add a UUID type to the Go standard library. Not so much for generating or parsing UUIDs — all the packages already out there do this quite well — but to have a standard API that other packages, like logging frameworks or database clients, can rely on. Right now these developers need make a choice of which third party UUID package they’re going to use. And if it’s different than the one you’re using, well… sad faces will occur.
✍️ Reply by email