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

Method DeleteComment

internal/service/comment.go:74–76  ·  view source on GitHub ↗

DeleteComment 删除评论的实现

(ctx context.Context, commentId int64)

Source from the content-addressed store, hash-verified

72
73// DeleteComment 删除评论的实现
74func (c *commentService) DeleteComment(ctx context.Context, commentId int64) error {
75 return c.repo.DeleteComment(ctx, commentId)
76}
77
78// GetMoreCommentsReply 获取更多评论回复的实现
79func (c *commentService) GetMoreCommentsReply(ctx context.Context, rootId, maxId, limit int64) ([]domain.Comment, error) {

Callers

nothing calls this directly

Calls 1

DeleteCommentMethod · 0.65

Tested by

no test coverage detected