google / uuid

Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
BSD 3-Clause "New" or "Revised" License
5.26k stars 362 forks source link

No constants defined for Version? #32

Closed sporkmonger closed 5 years ago

sporkmonger commented 6 years ago

There appears to be named constants defined for Variant but not Version?

pborman commented 6 years ago

I believe that versions are normally referred to by number, e.g., version 1 or version 4. Variants have the values (4 or 5), 6, and 7 so using the numbers is not convenient.