add OptWithRedisConn

This commit is contained in:
bryanqiu 2023-04-13 12:34:16 +08:00
parent bea6d37069
commit 0db6e87b75

View File

@ -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 {