Versions in this module Expand all Collapse all v1 v1.0.1 Aug 4, 2018 v1.0.0 Aug 2, 2018 Changes in this version + const ByteLength + func Equal(u1, u2 UUID) bool + type BinaryMode byte + const DenseFirst + const DenseOnly + const StandardFirst + const StandardOnly + func (bm BinaryMode) String() string + type ParseError struct + Detail string + ExactInput []byte + Input string + MethodName string + TypeName string + func (err ParseError) Error() string + type Preferences struct + Binary BinaryMode + Text TextMode + Value ValueMode + func (pref Preferences) FromBytes(in []byte) (UUID, error) + func (pref Preferences) FromString(in string) (UUID, error) + func (pref Preferences) MustFromBytes(in []byte) UUID + func (pref Preferences) MustFromString(in string) UUID + func (pref Preferences) New() UUID + func (pref Preferences) Nil() UUID + func (pref Preferences) String() string + type TextMode byte + const Bracketed + const Canonical + const Dense + const HashLike + const URN + func (tm TextMode) String() string + type TypeError struct + ExpectedTypes []reflect.Type + Input interface{} + InputType reflect.Type + MethodName string + TypeName string + func (err TypeError) Error() string + type UUID struct + func FromBytes(in []byte) (UUID, error) + func FromString(in string) (UUID, error) + func MustFromBytes(in []byte) UUID + func MustFromString(in string) UUID + func New() UUID + func Nil() UUID + func (uuid *UUID) FromBytes(in []byte) error + func (uuid *UUID) FromDenseBytes(in []byte) error + func (uuid *UUID) FromStandardBytes(in []byte) error + func (uuid *UUID) FromString(in string) error + func (uuid *UUID) MustFromBytes(in []byte) + func (uuid *UUID) MustFromString(in string) + func (uuid *UUID) Scan(value interface{}) error + func (uuid *UUID) SetNew() + func (uuid *UUID) SetNil() + func (uuid *UUID) SetPreferences(pref Preferences) + func (uuid *UUID) UnmarshalBinary(in []byte) error + func (uuid *UUID) UnmarshalJSON(in []byte) error + func (uuid *UUID) UnmarshalText(in []byte) error + func (uuid UUID) BracketedString() string + func (uuid UUID) Bytes() []byte + func (uuid UUID) CanonicalString() string + func (uuid UUID) DenseBytes() []byte + func (uuid UUID) DenseString() string + func (uuid UUID) Equal(other UUID) bool + func (uuid UUID) Format(s fmt.State, verb rune) + func (uuid UUID) GoString() string + func (uuid UUID) HashLikeString() string + func (uuid UUID) IsNil() bool + func (uuid UUID) IsV1() bool + func (uuid UUID) IsValid() bool + func (uuid UUID) MarshalBinary() ([]byte, error) + func (uuid UUID) MarshalJSON() ([]byte, error) + func (uuid UUID) MarshalText() ([]byte, error) + func (uuid UUID) Preferences() Preferences + func (uuid UUID) StandardBytes() []byte + func (uuid UUID) String() string + func (uuid UUID) URNString() string + func (uuid UUID) Value() (driver.Value, error) + func (uuid UUID) Variant() Variant + func (uuid UUID) Version() Version + func (uuid UUID) VersionAndVariant() (version Version, variant Variant) + type ValueMode byte + const Binary + const Text + func (vm ValueMode) String() string + type Variant byte + const VariantFuture + const VariantMicrosoft + const VariantNCS + const VariantRFC4122 + func (variant *Variant) FromString(in string) error + func (variant Variant) IsValid() bool + func (variant Variant) String() string + type Version byte + const V1 + const V2 + const V3 + const V4 + const V5 + func (version *Version) FromString(in string) error + func (version Version) IsValid() bool + func (version Version) String() string