(ctx context.Context, key string, value []byte, ttl time.Duration)
| 46 | } |
| 47 | |
| 48 | func (c *Versioned) Add(ctx context.Context, key string, value []byte, ttl time.Duration) error { |
| 49 | return c.cache.Add(ctx, c.addVersion(key), value, ttl) |
| 50 | } |
| 51 | |
| 52 | func (c *Versioned) GetMulti(ctx context.Context, keys []string, opts ...Option) map[string][]byte { |
| 53 | result, err := c.GetMultiWithError(ctx, keys, opts...) |
nothing calls this directly
no test coverage detected