From c61be37879c7aa9bee7296ed680c2d57e0027da6 Mon Sep 17 00:00:00 2001 From: Nam Huynh Date: Mon, 5 Dec 2022 15:30:25 +0700 Subject: [PATCH] remove server param in function Connect --- redisdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redisdb.go b/redisdb.go index 84510ba..3d3b911 100644 --- a/redisdb.go +++ b/redisdb.go @@ -14,7 +14,7 @@ type Server struct { var r *Server // Connect ... -func Connect(uri, password, server string) (*Server, error) { +func Connect(uri, password) (*Server, error) { ctx := context.Background() rdb := redis.NewClient(&redis.Options{