Documentation ¶
Overview ¶
Package uuid provides simple UUID generation. Only version 4 style UUIDs can be generated.
Please see http://tools.ietf.org/html/rfc4122 for details on UUIDs.
Index ¶
Constants ¶
View Source
const ( // Bits is the number of bits in a UUID Bits = 128 // Size is the number of bytes in a UUID Size = Bits / 8 )
Variables ¶
View Source
var ( // ErrUUIDInvalid indicates a parsed string is not a valid uuid. ErrUUIDInvalid = fmt.Errorf("invalid uuid") // Loggerf can be used to override the default logging destination. Such // log messages in this library should be logged at warning or higher. Loggerf = log.Printf )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.