Commit 4037f952 authored by 傅小黑's avatar 傅小黑

fix a code broken when documenting

parent 6cb3f588
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment