1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 22:50:50 +00:00

fix a code broken when documenting

This commit is contained in:
傅小黑 2013-12-22 15:23:43 +08:00
parent 6cb3f588c7
commit 4037f952ec

2
cache/file.go vendored
View File

@ -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.