Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { Id bson.ObjectId `json:"id" bson:"_id"` Created time.Time `json:"created,omitempty" description:"when item is created"` Updated time.Time `json:"updated,omitempty" description:"when item is updated"` Owner bson.ObjectId `json:"owner" bson:"owner" description:"user who created a comment"` Text string `json:"text" description:"raw markdown text"` Type Type `json:"-"` Link bson.ObjectId `json:"-"` }
type CommentList ¶
type CommentList struct { pagination.Meta `json:",inline"` Results []*Comment `json:"results"` }
Click to show internal directories.
Click to hide internal directories.