Documentation ¶
Index ¶
Constants ¶
View Source
const ( //UUIDV1 is generated by using a combination the host computers MAC address and the current date and time UUIDV1 = 1 //UUIDV4 The bits that comprise a UUID v4 are generated randomly and with no inherent logic. UUIDV4 = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security Services. A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to maps or compared directly.
func NewRFC4122Generator ¶
func (*Generator) NewStringUUID ¶
func (*Generator) ParseFromByte ¶
Click to show internal directories.
Click to hide internal directories.