commonpb

package
v0.0.0-...-4daffff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_goes_common_uuid_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UUID

type UUID struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

UUID represents a UUID as implemented by github.com/google/uuid.

func NewUUID

func NewUUID(id uuid.UUID) *UUID

NewUUID converts a uuid.UUID to a *UUID.

func (*UUID) AsUUID

func (id *UUID) AsUUID() uuid.UUID

AsUUID converts the *UUID to a uuid.UUID.

func (*UUID) Descriptor deprecated

func (*UUID) Descriptor() ([]byte, []int)

Deprecated: Use UUID.ProtoReflect.Descriptor instead.

func (*UUID) GetBytes

func (x *UUID) GetBytes() []byte

func (*UUID) ProtoMessage

func (*UUID) ProtoMessage()

func (*UUID) ProtoReflect

func (x *UUID) ProtoReflect() protoreflect.Message

func (*UUID) Reset

func (x *UUID) Reset()

func (*UUID) String

func (x *UUID) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL