err = json.NewDecoder(res.Body).Decode(&gr)
if err != nil {
log.Println("ERROR:", err)
return
}

Using json.newdecoder to decode the coming response body from client? 
Here is also the issue of " loading the entire response in memory and 
parsing it" is a matter?
As I am not using a buffer to copy?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b4ffebc2-0a7f-4599-9d86-94d5abea6910n%40googlegroups.com.

Reply via email to