289f050c by astaxie

cache: fix comments the return err

1 parent bbd31131
...@@ -17,7 +17,7 @@ import ( ...@@ -17,7 +17,7 @@ import (
17 // Cache interface contains all behaviors for cache adapter. 17 // Cache interface contains all behaviors for cache adapter.
18 // usage: 18 // usage:
19 // cache.Register("file",cache.NewFileCache()) // this operation is run in init method of file.go. 19 // cache.Register("file",cache.NewFileCache()) // this operation is run in init method of file.go.
20 // c := cache.NewCache("file","{....}") 20 // c,err := cache.NewCache("file","{....}")
21 // c.Put("key",value,3600) 21 // c.Put("key",value,3600)
22 // v := c.Get("key") 22 // v := c.Get("key")
23 // 23 //
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!