Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateComment ¶
Types ¶
type Comment ¶
type Comment struct { Id string `json:"_id" clover:"_id"` Comment string `json:"comment" clover:"comment"` OwnerId string `json:"owner_id" clover:"owner_id"` TargetId string `json:"target_id" clover:"target_id"` CommentDate string `json:"comment_date" clover:"comment_date"` }
func GetComments ¶
func GetCommentsByTargetId ¶
type CommentFormData ¶
type CommentFormData struct { Comment string `json:"comment"` OwnerName string `json:"owner_name"` TargetId string `json:"target_id"` CommentDate string `json:"comment_date"` }
func GetCommentsFormData ¶
func GetCommentsFormData(db *clover.DB, targetId string) ([]CommentFormData, error)
Click to show internal directories.
Click to hide internal directories.