(key string, value interface{})
| 197 | } |
| 198 | |
| 199 | func (c *ThreadSafeCache) Put(key string, value interface{}) { |
| 200 | // TODO: Implement thread-safe put operation |
| 201 | // Hint: Use write lock |
| 202 | } |
| 203 | |
| 204 | func (c *ThreadSafeCache) Delete(key string) bool { |
| 205 | // TODO: Implement thread-safe delete operation |
no outgoing calls