GenerateCacheKey 生成单个审核记录的缓存键
(id interface{})
| 163 | |
| 164 | // GenerateCacheKey 生成单个审核记录的缓存键 |
| 165 | func (c *checkCache) GenerateCacheKey(id interface{}) string { |
| 166 | return fmt.Sprintf("linkme:check:%v", id) |
| 167 | } |
| 168 | |
| 169 | // GeneratePaginationCacheKey 生成分页查询的缓存键 |
| 170 | func (c *checkCache) GeneratePaginationCacheKey(pagination domain.Pagination) string { |
nothing calls this directly
no outgoing calls
no test coverage detected