4037f952 by 傅小黑

fix a code broken when documenting

1 parent 6cb3f588
...@@ -50,7 +50,7 @@ type FileCache struct { ...@@ -50,7 +50,7 @@ type FileCache struct {
50 // Create new file cache with default directory and suffix. 50 // Create new file cache with default directory and suffix.
51 // the level and expiry need set in method StartAndGC as config string. 51 // the level and expiry need set in method StartAndGC as config string.
52 func NewFileCache() *FileCache { 52 func NewFileCache() *FileCache {
53 return &FileCache{} 53 return &FileCache{CachePath:FileCachePath, FileSuffix:FileCacheFileSuffix}
54 } 54 }
55 55
56 // Start and begin gc for file cache. 56 // Start and begin gc for file cache.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!