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

Function NewInteractiveRepository

internal/repository/interactive.go:33–39  ·  view source on GitHub ↗
(dao dao.InteractiveDAO, l *zap.Logger, cache cache.InteractiveCache)

Source from the content-addressed store, hash-verified

31}
32
33func NewInteractiveRepository(dao dao.InteractiveDAO, l *zap.Logger, cache cache.InteractiveCache) InteractiveRepository {
34 return &InteractiveRepositoryImpl{
35 dao: dao,
36 cache: cache,
37 l: l,
38 }
39}
40
41// IncrReadCnt 增加阅读计数
42func (i *InteractiveRepositoryImpl) IncrReadCnt(ctx context.Context, postId uint) error {

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected