Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
Go to file
Nicu Micle 2d3c2a9cc5
feat: Generate V6 from custom time (#172)
* Add NewV6WithTime

* Refactor generateV6

* fix NewV6WithTime doc comment

* fix: remove fmt.Println from test

---------

Co-authored-by: nicumicle <20170987+nicumicleI@users.noreply.github.com>
2024-11-14 11:04:50 -06:00
.github
CHANGELOG.md
CONTRIBUTING.md
CONTRIBUTORS
LICENSE
README.md docs: upd links to rfc9562 (#162) 2024-07-01 11:23:50 -05:00
dce.go
doc.go docs: upd links to rfc9562 (#162) 2024-07-01 11:23:50 -05:00
go.mod
hash.go docs: upd links to rfc9562 (#162) 2024-07-01 11:23:50 -05:00
json_test.go
marshal.go
node.go
node_js.go
node_net.go
null.go
null_test.go
seq_test.go
sql.go
sql_test.go
time.go feat: Generate V6 from custom time (#172) 2024-11-14 11:04:50 -06:00
time_test.go feat: Generate V6 from custom time (#172) 2024-11-14 11:04:50 -06:00
util.go
uuid.go feat: add error types for better validation (#166) 2024-08-06 07:37:17 -07:00
uuid_test.go feat: add error types for better validation (#166) 2024-08-06 07:37:17 -07:00
version1.go
version4.go
version6.go feat: Generate V6 from custom time (#172) 2024-11-14 11:04:50 -06:00
version6_test.go feat: Generate V6 from custom time (#172) 2024-11-14 11:04:50 -06:00
version7.go docs: upd links to rfc9562 (#162) 2024-07-01 11:23:50 -05:00

README.md

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