Versions in this module Expand all Collapse all v0 v0.6.0 Nov 28, 2015 Changes in this version + const Future + const Group + const Invalid + const Microsoft + const Org + const Person + const RFC4122 + const Reserved + var NIL = Parse("00000000-0000-0000-0000-000000000000") + var NameSpace_DNS = Parse("6ba7b810-9dad-11d1-80b4-00c04fd430c8") + var NameSpace_OID = Parse("6ba7b812-9dad-11d1-80b4-00c04fd430c8") + var NameSpace_URL = Parse("6ba7b811-9dad-11d1-80b4-00c04fd430c8") + var NameSpace_X500 = Parse("6ba7b814-9dad-11d1-80b4-00c04fd430c8") + func ClockSequence() int + func Equal(uuid1, uuid2 UUID) bool + func New() string + func NodeID() []byte + func NodeInterface() string + func SetClockSequence(seq int) + func SetNodeID(id []byte) bool + func SetNodeInterface(name string) bool + func SetRand(r io.Reader) + type Domain byte + func (d Domain) String() string + type Time int64 + func GetTime() (Time, uint16, error) + func (t Time) UnixTime() (sec, nsec int64) + type UUID []byte + func NewDCEGroup() UUID + func NewDCEPerson() UUID + func NewDCESecurity(domain Domain, id uint32) UUID + func NewHash(h hash.Hash, space UUID, data []byte, version int) UUID + func NewMD5(space UUID, data []byte) UUID + func NewRandom() UUID + func NewSHA1(space UUID, data []byte) UUID + func NewUUID() UUID + func Parse(s string) UUID + func (u *UUID) UnmarshalJSON(data []byte) error + func (u UUID) MarshalJSON() ([]byte, error) + func (uuid UUID) ClockSequence() (int, bool) + func (uuid UUID) Domain() (Domain, bool) + func (uuid UUID) Id() (uint32, bool) + func (uuid UUID) NodeID() []byte + func (uuid UUID) String() string + func (uuid UUID) Time() (Time, bool) + func (uuid UUID) URN() string + func (uuid UUID) Variant() Variant + func (uuid UUID) Version() (Version, bool) + type Variant byte + func (v Variant) String() string + type Version byte + func (v Version) String() string