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

Method Set

internal/repository/cache/interactive.go:32–32  ·  view source on GitHub ↗

获取互动信息

(ctx context.Context, postId uint, res domain.Interactive)

Source from the content-addressed store, hash-verified

30 DecrCollectCountRecord(ctx context.Context, postId uint) error // 取消收藏
31 Get(ctx context.Context, postId uint) (domain.Interactive, error) // 获取互动信息
32 Set(ctx context.Context, postId uint, res domain.Interactive) error // 存储互动信息
33}
34
35type interactiveCache struct {

Callers

nothing calls this directly

Implementers 1

interactiveCacheinternal/repository/cache/interactive.

Calls

no outgoing calls

Tested by

no test coverage detected