Comment评论模型不是单独出现的,是通过函数进行返回的,可以反馈出文章的评论情况!
type Comment struct {
Id int32
Pid int32
ArticleID int64
Nickname string
Email string
WebSite string
Content string
IP string
UserAgent string
Uid int64
Status int8
CreatedAt time.Time
}