(dao DAO)
| 42 | } |
| 43 | |
| 44 | func withCache(dao DAO) DAO { |
| 45 | c := &cacheImpl{ |
| 46 | DAO: dao, |
| 47 | } |
| 48 | return c |
| 49 | } |
| 50 | |
| 51 | func (c *cacheImpl) getCache(ctx context.Context) cache.Cache { |
| 52 | return cache_helper.MustResolveCache(ctx, common.CacheTypeLocal, cacheConfig) |
no outgoing calls
no test coverage detected
searching dependent graphs…