From e831cb421cc7aa9752fac55fdfb17dbd984d2760 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sat, 26 Apr 2025 11:39:56 -0400 Subject: [PATCH] Update redis/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- redis/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/README.md b/redis/README.md index 3e972b44..2970005c 100644 --- a/redis/README.md +++ b/redis/README.md @@ -21,7 +21,7 @@ A Redis storage driver using [go-redis/redis](https://github.com/go-redis/redis) ### Signatures ```go func New(config ...Config) Storage -func NewFromConnection(conn redis.UniversalClient) Storage +func NewFromConnection(conn redis.UniversalClient) *Storage func (s *Storage) Get(key string) ([]byte, error) func (s *Storage) Set(key string, val []byte, exp time.Duration) error func (s *Storage) Delete(key string) error