resp, err := http.Get("http://example.com/";) if err != nil { // handle 
error } defer resp.Body.Close() body, err := ioutil.ReadAll(resp.Body)
 
That err returned from ReadAll.
how to sloved

On Saturday, February 17, 2018 at 2:23:10 PM UTC+5:30 patri...@gmail.com 
wrote:

>
> Den 2018-02-14 kl. 11:42, skrev Axel Wagner:
> > Why are the things mentioned so far not sufficient?
>
> The presented reasons are enough. I was just seeing things the wrong way 
> and it took quite a while to get my head on straight. After some 
> consideration i have repaired my views and everything is nice and shiny 
> again. Thanks a lot for your patience.
>
> Thank you all for your input.
>
> // Patrik
>

-- 
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/c4fc2a72-7466-4601-89af-3763029717d4n%40googlegroups.com.

Reply via email to