Documentation ¶
Index ¶
Constants ¶
View Source
const ByteSize = 16
ByteSize defines the size of the identifiers produced by this package, in bytes.
Variables ¶
View Source
var Empty = ID{}
Empty represents the empty ID (a sequence of 128 0 bits).
Functions ¶
This section is empty.
Types ¶
type ID ¶
ID represents a unique 128-bit identifier.
func (ID) MarshalJSON ¶
MarshalJSON returns the JSON value of an ID.
func (*ID) UnmarshalJSON ¶
UnmarshalJSON returns the parsed ID from a JSON value.
Click to show internal directories.
Click to hide internal directories.