4037f952 by 傅小黑

fix a code broken when documenting

1 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.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!