From 075cf971dd4fc6c73eaa7aacdc2ee082a57bc173 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Sun, 17 Feb 2013 18:51:53 +0200 Subject: [PATCH] readme: Simplify pipeline example. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7210e417..b04fbec5 100644 --- a/README.md +++ b/README.md @@ -62,12 +62,10 @@ We can also pipeline two commands together: set = c.Set("key1", "hello1") get = c.Get("key2") }) - fmt.Println(err) - fmt.Println(reqs) + fmt.Println(err, reqs) fmt.Println(set) fmt.Println(get) - // Output: [SET key1 hello1: OK GET key2: (nil)]> + // Output: [SET key1 hello1: OK GET key2: (nil)] // SET key1 hello1: OK // GET key2: (nil)