Versions in this module Expand all Collapse all v1 v1.0.0 Aug 27, 2018 Changes in this version + const Future + const Group + const Invalid + const Microsoft + const Org + const Person + const RFC4122 + const Reserved + var NameSpaceDNS = Must(Parse("6ba7b810-9dad-11d1-80b4-00c04fd430c8")) + var NameSpaceOID = Must(Parse("6ba7b812-9dad-11d1-80b4-00c04fd430c8")) + var NameSpaceURL = Must(Parse("6ba7b811-9dad-11d1-80b4-00c04fd430c8")) + var NameSpaceX500 = Must(Parse("6ba7b814-9dad-11d1-80b4-00c04fd430c8")) + var Nil UUID + func ClockSequence() int + 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 [16]byte + func FromBytes(b []byte) (uuid UUID, err error) + func Must(uuid UUID, err error) UUID + func New() UUID + func NewDCEGroup() (UUID, error) + func NewDCEPerson() (UUID, error) + func NewDCESecurity(domain Domain, id uint32) (UUID, error) + func NewHash(h hash.Hash, space UUID, data []byte, version int) UUID + func NewMD5(space UUID, data []byte) UUID + func NewRandom() (UUID, error) + func NewSHA1(space UUID, data []byte) UUID + func NewUUID() (UUID, error) + func Parse(s string) (UUID, error) + func ParseBytes(b []byte) (UUID, error) + func (uuid *UUID) Scan(src interface{}) error + func (uuid *UUID) UnmarshalBinary(data []byte) error + func (uuid *UUID) UnmarshalText(data []byte) error + func (uuid UUID) ClockSequence() int + func (uuid UUID) Domain() Domain + func (uuid UUID) ID() uint32 + func (uuid UUID) MarshalBinary() ([]byte, error) + func (uuid UUID) MarshalText() ([]byte, error) + func (uuid UUID) NodeID() []byte + func (uuid UUID) String() string + func (uuid UUID) Time() Time + func (uuid UUID) URN() string + func (uuid UUID) Value() (driver.Value, error) + func (uuid UUID) Variant() Variant + func (uuid UUID) Version() Version + type Variant byte + func (v Variant) String() string + type Version byte + func (v Version) String() string