Remove unix client example.

This commit is contained in:
Vladimir Mihailenco 2013-12-30 14:29:51 +02:00
parent 75c8dbf91d
commit c819f1e039
1 changed files with 0 additions and 11 deletions

View File

@ -28,17 +28,6 @@ func ExampleNewTCPClient() {
// Output: PONG <nil> // Output: PONG <nil>
} }
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 <nil>
}
func ExampleClient() { func ExampleClient() {
set := client.Set("foo", "bar") set := client.Set("foo", "bar")
fmt.Println(set.Val(), set.Err()) fmt.Println(set.Val(), set.Err())