mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 04:30:39 +00:00
fix a code broken when documenting
This commit is contained in:
2
cache/file.go
vendored
2
cache/file.go
vendored
@ -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.
|
||||
|
Reference in New Issue
Block a user