fix a code broken when documenting
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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. | ... | ... |
-
Please register or sign in to post a comment