From c819f1e039766ab305b575fbb7ba9c6815d20424 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Mon, 30 Dec 2013 14:29:51 +0200 Subject: [PATCH] Remove unix client example. --- v2/example_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/v2/example_test.go b/v2/example_test.go index 721392e..840f80d 100644 --- a/v2/example_test.go +++ b/v2/example_test.go @@ -28,17 +28,6 @@ func ExampleNewTCPClient() { // Output: PONG } -func ExampleNewUnixClient() { - client := redis.NewUnixClient(&redis.Options{ - Addr: "/tmp/redis.sock", - }) - defer client.Close() - - ping := client.Ping() - fmt.Println(ping.Val(), ping.Err()) - // Output: PONG -} - func ExampleClient() { set := client.Set("foo", "bar") fmt.Println(set.Val(), set.Err())