Documentation
¶
Index ¶
- Variables
- type CommentDB
- func (*CommentDB) Descriptor() ([]byte, []int)deprecated
- func (x *CommentDB) GetCommentMenuItems() []*menu_item.WrapMenuItems
- func (x *CommentDB) GetCreationDate() string
- func (x *CommentDB) GetId() uint32
- func (x *CommentDB) GetRating() uint32
- func (x *CommentDB) GetText() string
- func (x *CommentDB) GetUser() *user.UserDB
- func (*CommentDB) ProtoMessage()
- func (x *CommentDB) ProtoReflect() protoreflect.Message
- func (x *CommentDB) Reset()
- func (x *CommentDB) String() string
- type WrapComment
Constants ¶
This section is empty.
Variables ¶
View Source
var File_comment_comment_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CommentDB ¶
type CommentDB struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Rating uint32 `protobuf:"varint,2,opt,name=rating,proto3" json:"rating,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` CreationDate string `protobuf:"bytes,4,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` User *user.UserDB `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` CommentMenuItems []*menu_item.WrapMenuItems `protobuf:"bytes,6,rep,name=comment_menu_items,json=commentMenuItems,proto3" json:"comment_menu_items,omitempty"` // contains filtered or unexported fields }
func (*CommentDB) Descriptor
deprecated
func (*CommentDB) GetCommentMenuItems ¶
func (x *CommentDB) GetCommentMenuItems() []*menu_item.WrapMenuItems
func (*CommentDB) GetCreationDate ¶
func (*CommentDB) ProtoMessage ¶
func (*CommentDB) ProtoMessage()
func (*CommentDB) ProtoReflect ¶
func (x *CommentDB) ProtoReflect() protoreflect.Message
type WrapComment ¶
type WrapComment struct { Comment *CommentDB `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*WrapComment) Descriptor
deprecated
func (*WrapComment) Descriptor() ([]byte, []int)
Deprecated: Use WrapComment.ProtoReflect.Descriptor instead.
func (*WrapComment) GetComment ¶
func (x *WrapComment) GetComment() *CommentDB
func (*WrapComment) ProtoMessage ¶
func (*WrapComment) ProtoMessage()
func (*WrapComment) ProtoReflect ¶
func (x *WrapComment) ProtoReflect() protoreflect.Message
func (*WrapComment) Reset ¶
func (x *WrapComment) Reset()
func (*WrapComment) String ¶
func (x *WrapComment) String() string
Click to show internal directories.
Click to hide internal directories.