Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
gouuid
Key Metrics
Star Growth
Stars
6.1k
Forks
431
Weekly Growth
—
Issues
28
2k4k6k
Feb 2016Oct 2017Jul 2019Apr 2021Jan 2023Oct 2024Jul 2026
ArtifactsGo Modulesgo get github.com/google/uuid
README
uuid
The uuid package generates and inspects UUIDs based on
RFC 9562
and DCE 1.1: Authentication and Security Services.
This package is based on the github.com/pborman/uuid package (previously named
code.google.com/p/go-uuid). It differs from these earlier packages in that
a UUID is a 16 byte array rather than a byte slice. One loss due to this
change is the ability to represent an invalid UUID (vs a NIL UUID).
Install
go get github.com/google/uuid
Documentation
Full go doc style documentation for the package can be viewed online without
installing this package by using the GoDoc site here:
https://pkg.go.dev/github.com/google/uuid