cache: fix comments the return err

This commit is contained in:
astaxie 2014-08-02 10:12:03 +08:00
parent bbd31131a4
commit 289f050c04
1 changed files with 1 additions and 1 deletions

2
cache/cache.go vendored
View File

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