Clone this repo:
  1. 2d3c2a9 feat: Generate V6 from custom time (#172) by Nicu Micle · 2 weeks ago master
  2. 0e97ed3 feat: add error types for better validation (#166) by Jorge Massih · 4 months ago
  3. d55c313 docs: upd links to rfc9562 (#162) by Alex Bozhenko · 5 months ago
  4. e8d82d3 feat: add Compare function (#163) by MikeWang · 5 months ago
  5. 53dda83 fix: incorrect timestamp in uuid v6 (#161) by Youngjae Lee · 6 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