Documentation ¶
Index ¶
- type TypeComment
- func (c *TypeComment) CommentID() model.CommentID
- func (c *TypeComment) CreateAt() time.Time
- func (c *TypeComment) CreatorID() model.UserID
- func (c *TypeComment) GetContent() string
- func (c *TypeComment) GetID() model.CommentID
- func (c *TypeComment) GetState() uint8
- func (c *TypeComment) GetTopicID() uint32
- func (c *TypeComment) IsSubComment() bool
- func (c *TypeComment) RelatedTo() model.CommentID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypeComment ¶
type TypeComment struct { Content string ID uint32 TopicID uint32 UID uint32 Related uint32 CreatedTime uint32 }
func (*TypeComment) CommentID ¶
func (c *TypeComment) CommentID() model.CommentID
func (*TypeComment) CreateAt ¶
func (c *TypeComment) CreateAt() time.Time
func (*TypeComment) CreatorID ¶
func (c *TypeComment) CreatorID() model.UserID
func (*TypeComment) GetContent ¶
func (c *TypeComment) GetContent() string
func (*TypeComment) GetID ¶
func (c *TypeComment) GetID() model.CommentID
func (*TypeComment) GetState ¶
func (c *TypeComment) GetState() uint8
func (*TypeComment) GetTopicID ¶
func (c *TypeComment) GetTopicID() uint32
func (*TypeComment) IsSubComment ¶
func (c *TypeComment) IsSubComment() bool
func (*TypeComment) RelatedTo ¶
func (c *TypeComment) RelatedTo() model.CommentID
Click to show internal directories.
Click to hide internal directories.