Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID struct {
uuid.UUID
}
UUID is a thin wrapper around "github.com/satori/go.uuid".UUID that can be used as a gogo/protobuf customtype.
func FromBytes ¶
FromBytes delegates to "github.com/satori/go.uuid".FromBytes and wraps the result in a UUID.
func FromString ¶
FromString delegates to "github.com/satori/go.uuid".FromString and wraps the result in a UUID.
func MakeV4 ¶
func MakeV4() UUID
MakeV4 delegates to "github.com/satori/go.uuid".NewV4 and wraps the result in a UUID.
func NewPopulatedUUID ¶
NewPopulatedUUID returns a populated UUID.
func (UUID) Bytes ¶
func (UUID) Bytes()
Bytes shadows (*github.com/satori/go.uuid.UUID).Bytes() to prevent UUID from implementing github.com/golang/protobuf/proto.raw, the semantics of which do not match the semantics of the shadowed method. See https://github.com/golang/protobuf/blob/5386fff/proto/text.go#L173:L176.
TODO(tschottdorf): fix upstream. TODO(tamird): what does fixing upstream even mean?