From c91da1460e9e25b88ae1a40ea08f113d09c3586c Mon Sep 17 00:00:00 2001 From: guzeng Date: Sun, 23 May 2021 15:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E7=BD=AE=E6=9C=89?= =?UTF-8?q?=E6=95=88=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- expire.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expire.go b/expire.go index a11492f..a118a0c 100644 --- a/expire.go +++ b/expire.go @@ -16,7 +16,7 @@ func SetExpire(key string, ttl uint64, url ...string) (uint64, error) { } defer conn.Close() - req := &SetExpire(proto.String(key),proto.Uint64(ttl), nil} + req := &SetExpire{proto.String(key), proto.Uint64(ttl), nil} res := &SetExpireResponse{}