diff options
Diffstat (limited to 'cache.go')
| -rw-r--r-- | cache.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ func CachePath(rel string) string { return path } -func ReadCache(relPath string, ttl time.Duration) ([]byte, bool) { +func ReadCache(relPath string, ttl time.Duration) (data []byte, cacheHit bool) { path := CachePath(relPath) info, err := os.Stat(path) |
