From dfad8525782d466f2ed4769749769cd11c9275b7 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 8 Apr 2020 16:34:27 +0300 Subject: [PATCH] store: fix for never go-micro (#521) Signed-off-by: Vasiliy Tolstov --- redis.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/redis.go b/redis.go index dc976ba..736e6dc 100644 --- a/redis.go +++ b/redis.go @@ -14,6 +14,10 @@ func (r *rkv) Init(...store.Option) error { return nil } +func (r *rkv) Close() error { + return r.Client.Close() +} + func (r *rkv) Read(key string, opts ...store.ReadOption) ([]*store.Record, error) { records := make([]*store.Record, 0, 1)