Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NamespaceURL = UUID{0x6b, 0xa7, 0xb8, 0x11, 0x9d, 0xad, 0x11, 0xd1, 0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8}
NamespaceURL is the UUID namespace for URLs (RFC 4122)
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID [16]byte
func ParseBytes ¶
ParseBytes converts a UUID in byte form to object.
func ParseString ¶
ParseString converts a UUID in string form to object.
func StringToUUID ¶
StringToUUID converts string to UUID. If str is not a valid UUID, it generates a Name-Based UUID v5.
Click to show internal directories.
Click to hide internal directories.