From 3b7154b92904181e999562d93db9674062375cbb Mon Sep 17 00:00:00 2001 From: guzeng Date: Fri, 21 May 2021 10:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEKEY=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- string.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.go b/string.go index 1179504..c0b899b 100644 --- a/string.go +++ b/string.go @@ -39,7 +39,7 @@ func Set(key, value string, ttl uint64, url ...string) (uint64, error) { } defer conn.Close() - req := &SetRequest{proto.String(key), proto.String(value),proto.Uint64(ttl) nil} + req := &SetRequest{proto.String(key), proto.String(value), proto.Uint64(ttl), nil} res := &SetResponse{}