(key string, value interface{})
| 18 | } |
| 19 | |
| 20 | func (c *Cache) Set(key string, value interface{}) { |
| 21 | c.db.Set(key, value, cache.DefaultExpiration) |
| 22 | } |
| 23 | |
| 24 | func (c *Cache) SetWithTTL(key string, value interface{}, d time.Duration) { |
| 25 | c.db.Set(key, value, d) |
no outgoing calls
no test coverage detected