Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoSimplicity/LinkMe
/ commentCache
Struct
commentCache
internal/repository/cache/comment.go:18–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
type
commentCache
struct
{
19
cmd redis.Cmdable
20
expiration time.Duration
21
}
22
23
func
NewCommentCache(cmd redis.Cmdable) CommentCache {
24
return
&commentCache{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected