Documentation
¶
Overview ¶
gouuid package implements UUID (version 4, random) type and methods for the manipulation of it. It implements the encoding/json.Marshaler and encoding/json.Unmarshaler interface to allow easy handling with JSON.
Index ¶
Constants ¶
View Source
const (
UUIDLen = 16
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
func ParseString ¶
ParseString converts a string (hex uuid, can include dashes) to UUID.
func (*UUID) MarshalJSON ¶
func (UUID) ShortString ¶
ShortString returns short string representation (without dashes) of UUID. Example: b7c016dc2ba4a68db368a97da9f43cee
func (*UUID) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.