From 1a85edf19a08147260c62e7ca68dddc07693cdaf Mon Sep 17 00:00:00 2001 From: coward Date: Mon, 6 Dec 2021 16:20:44 +0800 Subject: [PATCH] =?UTF-8?q?':pencil:=E6=9B=B4=E6=94=B9=E6=96=87=E6=A1=A3'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9dfde39..1c45427 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ go get -u github.com/cowardmrx/rds_cache_go ## 使用 ```go -var caches = NewCache(WithHost("192.168.0.151"), WithPort("6379"), WithDbname(13)) +var caches = NewCache(WithHost("192.168.0.151"), WithPort("6379"), WithDB(13)) // PUT err := caches.Put("key1", "va", 1*time.Minute)