DeleteComment 删除评论
(ctx context.Context, commentId int64)
| 56 | |
| 57 | // DeleteComment 删除评论 |
| 58 | func (c *commentRepository) DeleteComment(ctx context.Context, commentId int64) error { |
| 59 | return c.dao.DeleteCommentById(ctx, commentId) |
| 60 | } |
| 61 | |
| 62 | // GetMoreCommentsReply 获取更多评论回复 |
| 63 | func (c *commentRepository) GetMoreCommentsReply(ctx context.Context, rootId, maxId, limit int64) ([]domain.Comment, error) { |
nothing calls this directly
no test coverage detected