diff --git a/README.md b/README.md index 8965b915..b08330df 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ import ( var ctx = context.Background() func ExampleClient() { - url := "redis://localhost:6379?password=hello&protocol=3" + url := "redis://user:password@localhost:6379/0?protocol=3" opts, err := redis.ParseURL(url) if err != nil { panic(err)