Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` ReplyTo string `bson:"replyTo,omitempty" json:"replyTo,omitempty"` ParentId string `bson:"parentId,omitempty" json:"parentId,omitempty"` FirstLevelId string `bson:"firstLevelId,omitempty" json:"firstLevelId,omitempty"` Type string `bson:"type,omitempty" json:"type,omitempty"` Text string `bson:"text,omitempty" json:"text,omitempty"` AuthorId string `bson:"authorId,omitempty" json:"authorId,omitempty"` UpdateAt time.Time `bson:"updateAt,omitempty" json:"updateAt,omitempty"` CreateAt time.Time `bson:"createAt,omitempty" json:"createAt,omitempty"` }
type History ¶
type History struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` Type string `bson:"type,omitempty" json:"type,omitempty"` Data Comment `bson:"data,omitempty" json:"data,omitempty"` UpdateAt time.Time `bson:"updateAt,omitempty" json:"updateAt,omitempty"` CreateAt time.Time `bson:"createAt,omitempty" json:"createAt,omitempty"` }
Click to show internal directories.
Click to hide internal directories.