Versions in this module Expand all Collapse all v0 v0.1.0 May 9, 2024 Changes in this version + type UUID [16]byte + var ErrInvalidFormat = errors.New("invalid format") + var Nil UUID + func FromBytes(b []byte) (UUID, error) + func NewV4() (UUID, error) + func NewV7() (UUID, error) + func Parse(s string) (UUID, error) + func ParseBytes(b []byte) (UUID, error) + func (uuid *UUID) UnmarshalBinary(data []byte) error + func (uuid *UUID) UnmarshalText(data []byte) error + func (uuid UUID) MarshalBinary() ([]byte, error) + func (uuid UUID) MarshalText() ([]byte, error) + func (uuid UUID) String() string + func (uuid UUID) Timestamp() time.Time + func (uuid UUID) Version() Version + type UUIDs []UUID + func (uuids UUIDs) String() []string + type Version byte + func (v Version) String() string