Versions in this module Expand all Collapse all v1 v1.1.0 Feb 22, 2019 Changes in this version + var Base64StdEncoder = Base64Encoder + var Base64URLEncoder = Base64Encoder + type Base64Encoder struct + Enc *base64.Encoding + func (e Base64Encoder) Encode(src []byte) (out []byte) + func (e Base64Encoder) EncodeToString(src []byte) (out string) + type Encoder interface + Encode func([]byte) []byte + type EncoderToString interface + EncodeToString func([]byte) string type UUID + func (u UUID) Encode(e Encoder) []byte + func (u UUID) EncodeToString(e EncoderToString) string v1.0.1 Feb 17, 2017 Changes in this version + func NodeId() uint32 + func SetNodeId(nodeId uint32) error + type UUID []byte + func New() UUID + func NewCrypto() UUID + func NewFromBytes(b []byte) (UUID, error) + func NewFromString(s string) (UUID, error) + func (u *UUID) UnmarshalJSON(b []byte) error + func (u UUID) Hex() string + func (u UUID) MarshalJSON() ([]byte, error) + func (u UUID) NodeId() uint32 + func (u UUID) String() string + func (u UUID) Time() time.Time + func (u UUID) Variant() int + func (u UUID) Version() int