import (
"fmt"
"net/http"
"io/ioutil"
)
resp, err := http.Get(url)
checkErr(err)
fmt.Printf("Response type: %T\n", resp)
resp, err := http.Get(url)
checkErr(err)
defer resp.Body.Close()
bytes, err := ioutil.ReadAll(resp.Body)
checkErr(err)
content := string(bytes)