MCPcopy Create free account
hub / github.com/pace/bricks / Forget

Method Forget

pkg/cache/cache.go:25–25  ·  view source on GitHub ↗

Forget removes the value stored under the key. No error is returned if there is no value stored.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

23 // Forget removes the value stored under the key. No error is returned if
24 // there is no value stored.
25 Forget(ctx context.Context, key string) error
26}

Callers 4

Example_inMemoryFunction · 0.95
TestPutMethod · 0.65
TestGetMethod · 0.65
TestForgetMethod · 0.65

Implementers 2

Redispkg/cache/redis.go
Memorypkg/cache/memory.go

Calls

no outgoing calls

Tested by 1

Example_inMemoryFunction · 0.76