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: or using Unix socket:
client := redis.NewUnixClient("/tmp/redis.sock", "", -1) client := redis.NewUnixClient("/tmp/redis.sock", "", -1)
defer client.Close() defer client.Close()
ping := client.Ping() ping := client.Ping()
fmt.Println(ping.Err(), ping.Val()) fmt.Println(ping.Err(), ping.Val())
// Output: <nil> PONG // Output: <nil> PONG
Then we can start sending commands: Then we can start sending commands: