mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 08:10:58 +00:00
fix a code broken when documenting
This commit is contained in:
parent
6cb3f588c7
commit
4037f952ec
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.
|
||||
|
Loading…
Reference in New Issue
Block a user