Documentation ¶
Overview ¶
Package uuid provides functions to create time-based UUIDs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID [16]byte
UUID - unique identifier type representing a 128 bit number
func FromTime ¶
FromTime generates a new time based UUID (version 1) as described in RFC 4122. This UUID contains the MAC address of the node that generated the UUID, the given timestamp and a sequence number.
Click to show internal directories.
Click to hide internal directories.