summaryrefslogtreecommitdiff
path: root/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache.go')
-rw-r--r--cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.go b/cache.go
index a81ea66..caab2e0 100644
--- a/cache.go
+++ b/cache.go
@@ -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)