diff --git a/cache/cache.go b/cache/cache.go index acb42043..fda5d8c3 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -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") //