From 472b936e035ffac0b6ce83d086247734d406ab55 Mon Sep 17 00:00:00 2001 From: Steve Domino Date: Thu, 17 Dec 2015 17:20:20 -0700 Subject: [PATCH] updating readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ce73961..a78d6ef 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ if err != nil { } fish := []Fish{} -if err := json.Unmarshal(records, &fish); err != nil { +if err := json.Unmarshal([]byte(records), &fish); err != nil { fmt.Println("Error", err) }