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

Function NewInteractiveService

internal/service/interactive.go:29–34  ·  view source on GitHub ↗
(repo repository.InteractiveRepository, l *zap.Logger)

Source from the content-addressed store, hash-verified

27}
28
29func NewInteractiveService(repo repository.InteractiveRepository, l *zap.Logger) InteractiveService {
30 return &interactiveService{
31 repo: repo,
32 l: l,
33 }
34}
35
36// Like 处理点赞逻辑
37func (i *interactiveService) Like(ctx context.Context, postId uint, uid int64) error {

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected