1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-10 14:31:02 +00:00

for issue #1530, accept @JessonChan's suggestion

This commit is contained in:
youngsterxyf
2016-01-08 20:16:58 +08:00
parent bb43d3a78c
commit 0b0904db13
9 changed files with 11 additions and 11 deletions

2
cache/README.md vendored
View File

@ -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")