Clone this repo:
  1. 6e10cd1 fix: use MustParse("xxx") instead of Must(Parse("xxxx")) (#106) by kotaro.yamazaki · 7 weeks ago master
  2. b5b9aeb docs: fixing typos (#156) by Andreas Deininger · 9 weeks ago
  3. 0f11ee6 chore(master): release 1.6.0 (#151) by release-please[bot] · 3 months ago v1.6.0
  4. 16939da chore(tests): add strict monotonicity test case for uuid v7. (#154) by MikeWang · 3 months ago
  5. 016b199 fix: fix typo in version 7 uuid documentation (#153) by David Kaufman · 3 months ago

uuid

The uuid package generates and inspects UUIDs based on RFC 4122 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