Clone this repo:
  1. d55c313 docs: upd links to rfc9562 (#162) by Alex Bozhenko · 11 days ago master
  2. e8d82d3 feat: add Compare function (#163) by MikeWang · 11 days ago
  3. 53dda83 fix: incorrect timestamp in uuid v6 (#161) by Youngjae Lee · 6 weeks ago
  4. 6e10cd1 fix: use MustParse("xxx") instead of Must(Parse("xxxx")) (#106) by kotaro.yamazaki · 5 months ago
  5. b5b9aeb docs: fixing typos (#156) by Andreas Deininger · 5 months ago

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

Go Reference

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