Documentation
¶
Overview ¶
Package uuid can be used to generate 128 bit UUIDs compatible with rfc4122. Currently, only version 4 UUIDs, UUIDs generated from random data, can be created. The package includes functions for generating UUIDs and for converting them to and from strings.
Index ¶
Constants ¶
View Source
const UUIDRegex = "[a-fA-F0-9]{8}-?[a-fA-F0-9]{4}-?4[a-fA-F0-9]{3}-?[8|9|aA|bB][a-fA-F0-9]{3}-?[a-fA-F0-9]{12}"
UUIDRegex defines a pattern for validating UUIDs
Variables ¶
Functions ¶
This section is empty.
Types ¶
Source Files
¶
- uuid.go
Click to show internal directories.
Click to hide internal directories.