Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfeel/dotweb
/ init
Function
init
cache/cache_test.go:9–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
var
val []byte
8
9
func
init() {
10
runtimeCache = NewRuntimeCache()
11
key =
"abc"
12
val = []byte(
"def"
)
13
}
14
15
func
DoSet(cache Cache) {
16
expire := 60
// expire in 60 seconds
Callers
nothing calls this directly
Calls
1
NewRuntimeCache
Function · 0.70
Tested by
no test coverage detected