diff --git a/examples/app.go b/examples/app.go index 2b29e0d8..66b8f7b2 100644 --- a/examples/app.go +++ b/examples/app.go @@ -130,6 +130,6 @@ func exerciseHandler() { json.NewEncoder(out).Encode(responseBlog) fmt.Println("================ Viola! Converted back our Blog struct =================") - fmt.Println(string(out.Bytes())) + fmt.Println(out.String) fmt.Println("================ end marshal materialized Blog struct =================") }