Documentation ¶
Index ¶
- Variables
- type ObjectId
- func (*ObjectId) Descriptor() ([]byte, []int)deprecated
- func (o *ObjectId) GetObjectID() (primitive.ObjectID, error)
- func (x *ObjectId) GetValue() string
- func (*ObjectId) ProtoMessage()
- func (x *ObjectId) ProtoReflect() protoreflect.Message
- func (x *ObjectId) Reset()
- func (x *ObjectId) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_gwmongo_objectid_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ObjectId ¶
type ObjectId struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func NewObjectId ¶
NewObjectId creates proto ObjectId from MongoDB ObjectID
func (*ObjectId) Descriptor
deprecated
func (*ObjectId) GetObjectID ¶
GetObjectID returns MongoDB object ID
func (*ObjectId) ProtoMessage ¶
func (*ObjectId) ProtoMessage()
func (*ObjectId) ProtoReflect ¶
func (x *ObjectId) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.