Documentation ¶
Overview ¶
Package buuid provides a type 4 uuid that can be encoded into a 16 byte binary representation as two 64 bit integers in little endian byte order.
Index ¶
Constants ¶
View Source
const (
EncodedLength = 16
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
ID is a type 4 UUID.
func FromString ¶
FromString constructs an ID from the string-encoded version of a uuid.UUID.
func Random ¶
func Random() ID
Random creates a random ID (uses uuid.NewRandom() which uses crypto.Random() under the covers)
Click to show internal directories.
Click to hide internal directories.