SetPlaceholder set placeholder value to cache
(ctx context.Context, id uint64)
| 143 | |
| 144 | // SetPlaceholder set placeholder value to cache |
| 145 | func (c *userExampleCache) SetPlaceholder(ctx context.Context, id uint64) error { |
| 146 | cacheKey := c.GetUserExampleCacheKey(id) |
| 147 | return c.cache.SetCacheWithNotFound(ctx, cacheKey) |
| 148 | } |
| 149 | |
| 150 | // IsPlaceholderErr check if cache is placeholder error |
| 151 | func (c *userExampleCache) IsPlaceholderErr(err error) bool { |
nothing calls this directly
no test coverage detected