remove server param in function Connect
This commit is contained in:
parent
93ee4df024
commit
c61be37879
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue