MCPcopy Create free account
hub / github.com/RezaSi/go-interview-practice / Delete

Method Delete

challenge-28/solution-template.go:204–207  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

202}
203
204func (c *ThreadSafeCache) Delete(key string) bool {
205 // TODO: Implement thread-safe delete operation
206 return false
207}
208
209func (c *ThreadSafeCache) Clear() {
210 // TODO: Implement thread-safe clear operation

Callers 2

TestThreadSafeCacheFunction · 0.95
TestConcurrentStressFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestThreadSafeCacheFunction · 0.76
TestConcurrentStressFunction · 0.76