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

Function NewCommentService

internal/service/comment.go:29–34  ·  view source on GitHub ↗
(repo repository.CommentRepository, c check.Producer)

Source from the content-addressed store, hash-verified

27}
28
29func NewCommentService(repo repository.CommentRepository, c check.Producer) CommentService {
30 return &commentService{
31 repo: repo,
32 checkProducer: c,
33 }
34}
35
36// CreateComment 创建评论的实现
37func (c *commentService) CreateComment(ctx context.Context, comment domain.Comment) error {

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected