mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 13:20:55 +00:00
cache: fix comments the return err
This commit is contained in:
parent
bbd31131a4
commit
289f050c04
2
cache/cache.go
vendored
2
cache/cache.go
vendored
@ -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
Block a user