MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / DeleteComment

Method DeleteComment

internal/repository/comment.go:58–60  ·  view source on GitHub ↗

DeleteComment 删除评论

(ctx context.Context, commentId int64)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

DeleteCommentByIdMethod · 0.65

Tested by

no test coverage detected