From 0db6e87b75c1830eccf6e25a8c766fa60c8cd142 Mon Sep 17 00:00:00 2001 From: bryanqiu Date: Thu, 13 Apr 2023 12:34:16 +0800 Subject: [PATCH] add OptWithRedisConn --- cache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cache.go b/cache.go index 546788c..e3b15cd 100644 --- a/cache.go +++ b/cache.go @@ -14,6 +14,7 @@ var ( ErrNotFound = errors.New("not found") OptWithoutGetter = optWithoutGetter{} // for get only OptWithCreateTime = optWithCreateTime{} // for set & get + OptWithRedisConn = optWithRedisConn{} // for set & get ) type Cacher[T any] interface {