UpdateComment 更新评论
(ctx context.Context, comment domain.Comment)
| 51 | |
| 52 | // UpdateComment 更新评论 |
| 53 | func (c *commentRepository) UpdateComment(ctx context.Context, comment domain.Comment) error { |
| 54 | return c.dao.UpdateComment(ctx, c.toDAOComment(comment)) |
| 55 | } |
| 56 | |
| 57 | // DeleteComment 删除评论 |
| 58 | func (c *commentRepository) DeleteComment(ctx context.Context, commentId int64) error { |
nothing calls this directly
no test coverage detected