Documentation ¶
Index ¶
- Variables
- type UUID
- func (*UUID) Descriptor() ([]byte, []int)deprecated
- func (x *UUID) FromUUID(u uuid.UUID) *UUID
- func (x *UUID) GetHi() uint64
- func (x *UUID) GetLo() uint64
- func (x *UUID) MarshalBinary() ([]byte, error)
- func (x *UUID) MarshalText() ([]byte, error)
- func (*UUID) ProtoMessage()
- func (x *UUID) ProtoReflect() protoreflect.Message
- func (x *UUID) Reset()
- func (x *UUID) Scan(src any) error
- func (x *UUID) String() string
- func (x *UUID) ToBytes() []byte
- func (x *UUID) ToUUID() (uuid.UUID, error)
- func (x *UUID) UnmarshalBinary(data []byte) error
- func (x *UUID) UnmarshalText(text []byte) error
- func (x *UUID) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_uuid_v1_uuid_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UUID ¶
type UUID struct { // The high 64 bits of the UUID - MSB -> LSB: time_low (32 bits) | time_mid (16 bits) | time_hi_and_version (16 bits). Hi uint64 `protobuf:"fixed64,1,opt,name=hi,proto3" json:"hi,omitempty"` // The low 64 bits of the UUID - MSB -> LSB: clock_seq_hi_and_reserved (8 bits) | clock_seq_low (8 bits) | node (48 bits). Lo uint64 `protobuf:"fixed64,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
A UUID, encoded in accordance with section 4.1.2 of RFC 4122.
func (*UUID) Descriptor
deprecated
func (*UUID) MarshalBinary ¶
func (*UUID) MarshalText ¶
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶
func (x *UUID) ProtoReflect() protoreflect.Message
func (*UUID) UnmarshalBinary ¶
func (*UUID) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.