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

Method DecrLike

internal/repository/interactive.go:18–18  ·  view source on GitHub ↗
(ctx context.Context, postId uint, uid int64)

Source from the content-addressed store, hash-verified

16 IncrReadCnt(ctx context.Context, postId uint) error
17 IncrLike(ctx context.Context, postId uint, uid int64) error
18 DecrLike(ctx context.Context, postId uint, uid int64) error
19 IncrCollectionItem(ctx context.Context, postId uint, uid int64) error
20 DecrCollectionItem(ctx context.Context, postId uint, uid int64) error
21 Get(ctx context.Context, postId uint) (domain.Interactive, error)

Callers 2

LikeMethod · 0.65
CancelLikeMethod · 0.65

Implementers 1

InteractiveRepositoryImplinternal/repository/interactive.go

Calls

no outgoing calls

Tested by

no test coverage detected