//
pkg.gl
Category
github.com/remerge/go-xorshift
uuid
package
0.0.0-20231129160643-2db0e285f2b3
Repository:
https://github.com/remerge/go-xorshift.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
97 SLOC
#
Functions
Must
Must returns uuid if err is nil and panics otherwise.
New
New is creates a new random UUID or panics.
NewRandom
NewRandom returns a Random (Version 4) UUID.
#
Constants
Future
Reserved for future definition.
Invalid
Invalid UUID.
Microsoft
Reserved, Microsoft Corporation.
Reserved
Reserved, NCS backward compatibility.
RFC4122
The variant specified in RFC4122.
#
Variables
Nil
empty UUID, all zeros.
#
Type aliases
UUID
A UUID is a 128 bit (16 byte) Universal Unique IDentifier as defined in RFC 4122.
Variant
A Variant represents a UUID's variant.
Version
A Version represents a UUID's version.