readme: Fix example indentation.

This commit is contained in:
Vladimir Mihailenco 2013-02-17 18:50:19 +02:00
parent a07e186fb3
commit 1d39fd8348
1 changed files with 5 additions and 5 deletions

View File

@ -36,12 +36,12 @@ Let's start with connecting to Redis using TCP:
or using Unix socket:
client := redis.NewUnixClient("/tmp/redis.sock", "", -1)
defer client.Close()
client := redis.NewUnixClient("/tmp/redis.sock", "", -1)
defer client.Close()
ping := client.Ping()
fmt.Println(ping.Err(), ping.Val())
// Output: <nil> PONG
ping := client.Ping()
fmt.Println(ping.Err(), ping.Val())
// Output: <nil> PONG
Then we can start sending commands: