Skip to content

Commit 8b9cd42

Browse files
committed
[add] changes per review (remove password example)
1 parent 44aaf0e commit 8b9cd42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

example_graph_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ func ExampleGraphNew() {
2828

2929
func ExampleGraphNew_pool() {
3030
host := "localhost:6379"
31-
password := ""
3231
pool := &redis.Pool{Dial: func() (redis.Conn, error) {
33-
return redis.Dial("tcp", host, redis.DialPassword(password))
32+
return redis.Dial("tcp", host)
3433
}}
3534

3635
graph := redisgraph.GraphNew("social", pool.Get())

0 commit comments

Comments
 (0)