Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gofiber/fiber
/ Add
Method
Add
middleware/cache/cache_test.go:51–55 ·
view source on GitHub ↗
(d time.Duration)
Source
from the content-addressed store, hash-verified
49
}
50
51
func
(c *testClock) Add(d time.Duration) {
52
c.mu.Lock()
53
defer
c.mu.Unlock()
54
c.now = c.now.Add(d)
55
}
56
57
type
failingCacheStorage
struct
{
58
data
map
[string][]byte
Callers
nothing calls this directly
Calls
3
Lock
Method · 0.65
Unlock
Method · 0.65
Add
Method · 0.65
Tested by
no test coverage detected