From 228abef407fbc1ea3c9fdca008100fbc92b59777 Mon Sep 17 00:00:00 2001 From: Nam Huynh Date: Mon, 5 Dec 2022 15:30:36 +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 3d3b911..ee013d3 100644 --- a/redisdb.go +++ b/redisdb.go @@ -14,7 +14,7 @@ type Server struct { var r *Server // Connect ... -func Connect(uri, password) (*Server, error) { +func Connect(uri, password string) (*Server, error) { ctx := context.Background() rdb := redis.NewClient(&redis.Options{