MCPcopy Index your code
hub / github.com/apache/answer / RemoveComment

Method RemoveComment

internal/service/comment/comment_service.go:55–55  ·  view source on GitHub ↗
(ctx context.Context, commentID string)

Source from the content-addressed store, hash-verified

53type CommentRepo interface {
54 AddComment(ctx context.Context, comment *entity.Comment) (err error)
55 RemoveComment(ctx context.Context, commentID string) (err error)
56 UpdateCommentContent(ctx context.Context, commentID string, original string, parsedText string) (err error)
57 UpdateCommentStatus(ctx context.Context, commentID string, status int) (err error)
58 GetComment(ctx context.Context, commentID string) (comment *entity.Comment, exist bool, err error)

Implementers 1

commentRepointernal/repo/comment/comment_repo.go

Calls

no outgoing calls