()
| 69 | } |
| 70 | |
| 71 | func NewComments() *Comments { |
| 72 | return &Comments{} |
| 73 | } |
| 74 | |
| 75 | func (this *Comments) SetCommentStatus(id, status int) (err error) { |
| 76 | _, err = orm.NewOrm().QueryTable(this).Filter("id", id).Update(orm.Params{"status": status}) |
no outgoing calls
no test coverage detected