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

Method CreateComment

internal/service/comment.go:22–22  ·  view source on GitHub ↗
(ctx context.Context, comment domain.Comment)

Source from the content-addressed store, hash-verified

20
21type CommentService interface {
22 CreateComment(ctx context.Context, comment domain.Comment) 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)

Callers 2

CreateCommentMethod · 0.65
CreateCommentMethod · 0.65

Implementers 2

commentServiceinternal/service/comment.go
commentRepositoryinternal/repository/comment.go

Calls

no outgoing calls

Tested by

no test coverage detected