(ctx context.Context, key string, data interface{})
| 45 | } |
| 46 | |
| 47 | func (m *mockCacheRecon) Get(ctx context.Context, key string, data interface{}) error { |
| 48 | if _, ok := m.data[key]; ok { |
| 49 | return nil |
| 50 | } |
| 51 | return errors.New("cache miss") |
| 52 | } |
| 53 | |
| 54 | func (m *mockCacheRecon) Delete(ctx context.Context, key string) error { |
| 55 | delete(m.data, key) |
nothing calls this directly
no outgoing calls
no test coverage detected