Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UUID ¶
type UUID [16]byte
func NewV7 ¶
func NewV7() UUID
NewV7 return UUID v7 which is a modernized version of UUID, designed specifically for environments that need time-ordered unique identifiers while avoiding dependencies on hardware (like MAC addresses in UUID v1). It’s built around Unix time, offering millisecond precision, which makes it more intuitive and compatible with modern systems than older UUID versions like UUID v1 and v6.
Click to show internal directories.
Click to hide internal directories.