mirror of https://github.com/astaxie/beego.git
cache: fix comments the return err
This commit is contained in:
parent
bbd31131a4
commit
289f050c04
|
@ -17,7 +17,7 @@ import (
|
|||
// Cache interface contains all behaviors for cache adapter.
|
||||
// usage:
|
||||
// cache.Register("file",cache.NewFileCache()) // this operation is run in init method of file.go.
|
||||
// c := cache.NewCache("file","{....}")
|
||||
// c,err := cache.NewCache("file","{....}")
|
||||
// c.Put("key",value,3600)
|
||||
// v := c.Get("key")
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue