remove server param in function Connect

This commit is contained in:
Nam Huynh 2022-12-05 15:30:36 +07:00
parent c61be37879
commit 228abef407
1 changed files with 1 additions and 1 deletions

View File

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