(title string, season int)
| 26 | } |
| 27 | |
| 28 | func cacheKey(title string, season int) string { |
| 29 | return fmt.Sprintf("%s:%d", strings.ToLower(strings.TrimSpace(title)), season) |
| 30 | } |
| 31 | |
| 32 | // Get returns the cached episode count and true if a non-expired entry exists. |
| 33 | func (c *resultCache) Get(title string, season int) (int, bool) { |
no outgoing calls