Del delete cache
(ctx context.Context, id uint64)
| 133 | |
| 134 | // Del delete cache |
| 135 | func (c *userExampleCache) Del(ctx context.Context, id uint64) error { |
| 136 | cacheKey := c.GetUserExampleCacheKey(id) |
| 137 | err := c.cache.Del(ctx, cacheKey) |
| 138 | if err != nil { |
| 139 | return err |
| 140 | } |
| 141 | return nil |
| 142 | } |
| 143 | |
| 144 | // SetPlaceholder set placeholder value to cache |
| 145 | func (c *userExampleCache) SetPlaceholder(ctx context.Context, id uint64) error { |
nothing calls this directly
no test coverage detected