diff --git a/v2/example_test.go b/v2/example_test.go index a9b4351..ea009f4 100644 --- a/v2/example_test.go +++ b/v2/example_test.go @@ -31,7 +31,7 @@ func ExampleNewUnixClient() { // Output: PONG } -func ExampleSet() { +func ExampleClient() { client := redis.NewTCPClient(&redis.Options{ Addr: ":6379", }) @@ -47,7 +47,7 @@ func ExampleSet() { // bar } -func ExampleClientPipelined() { +func ExamplePipeline2() { client := redis.NewTCPClient(&redis.Options{ Addr: ":6379", })