From b886ed59a551365cadf38268e57dab6c770778ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dobros=C5=82aw=20=C5=BBybort?= Date: Thu, 20 Jun 2013 14:37:26 +0300 Subject: [PATCH] Update cache docs --- cache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/cache.go b/cache/cache.go index 0353a038..abef179e 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -28,7 +28,7 @@ func Register(name string, adapter Cache) { adapters[name] = adapter } -//config is json {"interval":360} +// config need to be correct JSON as string: {"interval":360} func NewCache(adapterName, config string) (Cache, error) { adapter, ok := adapters[adapterName] if !ok {