Versions in this module Expand all Collapse all v1 v1.0.9 Apr 20, 2018 Changes in this version + const ReservedFuture + const ReservedMicrosoft + const ReservedNCS + const ReservedRFC4122 + const TakeBack + var NamespaceDNS = &Struct + var NamespaceOID = &Struct + var NamespaceURL = &Struct + var NamespaceX500 = &Struct + func Digest(o, pNs UUID, pName UniqueName, pHash hash.Hash) + func Equal(p1 UUID, p2 UUID) bool + func Formatter(pUUID UUID, pFormat Format) string + func GetFormat() string + func Now() (sec int64, nsec int32) + func SetupCustomStateSaver(pSaver StateSaver) + func SetupFileSystemStateSaver(pConfig StateSaverConfig) + func SwitchFormat(pFormat Format) + func SwitchFormatUpperCase(pFormat Format) + func UnmarshalBinary(o UUID, pData []byte) error + type Array [length]byte + func (Array) Size() int + func (o *Array) Bytes() []byte + func (o *Array) MarshalBinary() ([]byte, error) + func (o *Array) Unmarshal(pData []byte) + func (o *Array) UnmarshalBinary(pData []byte) error + func (o *Array) Variant() byte + func (o Array) Format(pFormat string) string + func (o Array) String() string + func (o Array) Version() int + type FileSystemSaver struct + func (o *FileSystemSaver) Init(pState *State) + func (o *FileSystemSaver) Save(pState *State) + type Format string + const Bracket + const BracketHyphen + const Clean + const CleanHyphen + const Curly + const CurlyHyphen + const GoIdFormat + type Name string + func (o Name) String() string + type State struct + type StateSaver interface + Init func(*State) + Save func(*State) + type StateSaverConfig struct + SaveReport bool + SaveSchedule time.Duration + type Struct struct + func (o *Struct) Bytes() (data []byte) + func (o *Struct) MarshalBinary() ([]byte, error) + func (o *Struct) Unmarshal(pData []byte) + func (o *Struct) UnmarshalBinary(pData []byte) error + func (o Struct) Format(pFormat string) string + func (o Struct) Size() int + func (o Struct) String() string + func (o Struct) Variant() byte + func (o Struct) Version() int + type Timestamp uint64 + func (o Timestamp) Unix() time.Time + type UUID interface + Bytes func() (data []byte) + Size func() int + String func() string + Unmarshal func(pData []byte) + Variant func() byte + Version func() int + func New(pData []byte) UUID + func NewHex(pUuid string) UUID + func NewV1() UUID + func NewV3(pNs UUID, pName UniqueName) UUID + func NewV4() UUID + func NewV5(pNs UUID, pName UniqueName) UUID + func Parse(pUUID string) (UUID, error) + type UUIDVersion int + const DunnoYetv2 + const NONE + const RFC4122v1 + const RFC4122v3 + const RFC4122v4 + const RFC4122v5 + type UniqueName interface + String func() string + func NewName(salt string, pNames ...UniqueName) UniqueName