mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 11:50:18 +00:00
for issue #1530, accept @JessonChan's suggestion
This commit is contained in:
2
cache/README.md
vendored
2
cache/README.md
vendored
@ -26,7 +26,7 @@ Then init a Cache (example with memory adapter)
|
||||
|
||||
Use it like this:
|
||||
|
||||
bm.Put("astaxie", 1, time.Second * 10)
|
||||
bm.Put("astaxie", 1, 10 * time.Second)
|
||||
bm.Get("astaxie")
|
||||
bm.IsExist("astaxie")
|
||||
bm.Delete("astaxie")
|
||||
|
Reference in New Issue
Block a user