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

Method DeleteComment

internal/repository/comment.go:23–23  ·  view source on GitHub ↗
(ctx context.Context, commentId int64)

Source from the content-addressed store, hash-verified

21type CommentRepository interface {
22 CreateComment(ctx context.Context, comment domain.Comment) (int64, error)
23 DeleteComment(ctx context.Context, commentId int64) error
24 ListComments(ctx context.Context, postId, minID, limit int64) ([]domain.Comment, error)
25 GetMoreCommentsReply(ctx context.Context, rootId, maxId, limit int64) ([]domain.Comment, error)
26 GetTopCommentsReply(ctx context.Context, postId int64) (domain.Comment, error)

Callers

nothing calls this directly

Implementers 1

commentRepositoryinternal/repository/comment.go

Calls

no outgoing calls

Tested by

no test coverage detected