(ctx context.Context, key string, value interface{}, ttl time.Duration)
| 46 | } |
| 47 | |
| 48 | func (m *mockCache) Set(ctx context.Context, key string, value interface{}, ttl time.Duration) error { |
| 49 | m.data[key] = value |
| 50 | return nil |
| 51 | } |
| 52 | |
| 53 | func (m *mockCache) Get(ctx context.Context, key string, data interface{}) error { |
| 54 | if v, ok := m.data[key]; ok { |
nothing calls this directly
no outgoing calls
no test coverage detected