From c9be960f32e783387ecf82c15ea57f23b2b930f1 Mon Sep 17 00:00:00 2001 From: guzeng Date: Sun, 23 May 2021 15:44:54 +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 a118a0c..f456e63 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 := &SetExpireRequest{proto.String(key), proto.Uint64(ttl), nil} res := &SetExpireResponse{}