From b0874a2eb7b49b6b1b99c1c7ea38663901694d64 Mon Sep 17 00:00:00 2001 From: Emanuele Iannone Date: Wed, 21 Oct 2015 20:49:58 +0200 Subject: [PATCH] Fixed typo in usage code example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc875b4..0585b7f 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ func main() { } buf := make([]byte, 128) - n, err = s.Read(buf) + n, err := s.Read(buf) if err != nil { log.Fatal(err) }