Documentation
¶
Overview ¶
Example usage:
package main
import (
"fmt"
)
func main() {
UUID4 := uuid.UUID4()
fmt.Println("UUID4 is", UUID4)
UUID5 := uuid.UUID5(uuid.NamespaceDNS, "SomeName")
fmt.Println("UUID5", UUID5)
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NamespaceDNS = UUID{107, 167, 184, 16, 157, 173, 17, 209, 128, 180, 0, 192, 79, 212, 48, 200} NamespaceURL = UUID{107, 167, 184, 17, 157, 173, 17, 209, 128, 180, 0, 192, 79, 212, 48, 200} NamespaceOID = UUID{107, 167, 184, 18, 157, 173, 17, 209, 128, 180, 0, 192, 79, 212, 48, 200} NamespaceX500 = UUID{107, 167, 184, 20, 157, 173, 17, 209, 128, 180, 0, 192, 79, 212, 48, 200} )
The following standard UUIDs are for use with UUID3() or UUID5().
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.