From f0a587f528e87c5a1331aeb075eaf1a9961ae469 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Mon, 19 Mar 2018 17:11:44 -0400 Subject: [PATCH] Minimal solution. --- jsondemo2/minimal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsondemo2/minimal.go b/jsondemo2/minimal.go index b92b335..6ac3ada 100644 --- a/jsondemo2/minimal.go +++ b/jsondemo2/minimal.go @@ -87,7 +87,7 @@ func main() { fmt.Printf(" got=%v\n", string(out)) fmt.Println(` expected={"visible":1,"invisible":2,"epoch":1521492409}`) - // Demonstration of how to unmarshal: Unmarshal "out" ([]byte) to n (struct) + // Demonstration of how to unmarshal: Unmarshal out ([]byte) to n (struct) fmt.Printf("JSON to struct:\n") var n = &Cranberry{} err = json.Unmarshal(out, n)