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