Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID [16]byte
UUID represents a universally unique identifier (UUID) as defined by RFC 4122. It is a 128-bit (16-byte) array, typically used for globally unique identification. The UUID is often represented as a 36-character string with hexadecimal digits and hyphens. UUIDs are used to uniquely identify objects or entities in distributed systems or databases.
func NewUUID ¶
NewUUID generates a new RFC4122 version 4 UUID using a cryptographic random source and returns it along with any error encountered during generation.
Click to show internal directories.
Click to hide internal directories.