(comment *entity.Comment)
| 216 | } |
| 217 | |
| 218 | func (r *GetCommentResp) SetFromComment(comment *entity.Comment) { |
| 219 | _ = copier.Copy(r, comment) |
| 220 | r.CommentID = comment.ID |
| 221 | r.CreatedAt = comment.CreatedAt.Unix() |
| 222 | r.ReplyUserID = comment.GetReplyUserID() |
| 223 | r.ReplyCommentID = comment.GetReplyCommentID() |
| 224 | } |
| 225 | |
| 226 | // GetCommentPersonalWithPageReq get comment list page request |
| 227 | type GetCommentPersonalWithPageReq struct { |
no test coverage detected