mirror of
https://github.com/astaxie/beego.git
synced 2025-06-12 02:50:39 +00:00
fix the nil judge
This commit is contained in:
2
cache/README.md
vendored
2
cache/README.md
vendored
@ -22,7 +22,7 @@ First you must import it
|
||||
|
||||
Then init a Cache (example with memory adapter)
|
||||
|
||||
bm, err := NewCache("memory", `{"interval":60}`)
|
||||
bm, err := cache.NewCache("memory", `{"interval":60}`)
|
||||
|
||||
Use it like this:
|
||||
|
||||
|
Reference in New Issue
Block a user