Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("guid: invalid format")
ErrInvalid is returned when parsing a string that is not formatted as a valid guid.
Functions ¶
Types ¶
type Guid ¶
type Guid [16]byte
Guid is a globally unique 16 byte identifier
func ParseString ¶
ParseString returns the Guid represented by the string s.
func (*Guid) IsConformant ¶
IsConformant determines if the Guid is RFC 4122-conformant. If the variant is "reserved for future definition" or the version is unknown, then it is non-conformant.
func (*Guid) String ¶
String returns a standard hexadecimal string version of the Guid. Lowercase characters are used.
func (*Guid) StringUpper ¶
StringUpper returns a standard hexadecimal string version of the Guid. Uppercase characters are used.
Click to show internal directories.
Click to hide internal directories.