From 4037f952ec855644fdf642fe69af6c41f9477404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E5=B0=8F=E9=BB=91?= Date: Sun, 22 Dec 2013 15:23:43 +0800 Subject: [PATCH] fix a code broken when documenting --- cache/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/file.go b/cache/file.go index 777b2330..a4e59c06 100644 --- a/cache/file.go +++ b/cache/file.go @@ -50,7 +50,7 @@ type FileCache struct { // Create new file cache with default directory and suffix. // the level and expiry need set in method StartAndGC as config string. func NewFileCache() *FileCache { - return &FileCache{} + return &FileCache{CachePath:FileCachePath, FileSuffix:FileCacheFileSuffix} } // Start and begin gc for file cache.