The simplest GET request
resp, err := http.Get("http://example.com/")
GET request when you want to attach an access token etc.
req, err := http.NewRequest("GET", "http://example.com", nil)
// ...
req.Header.Add("If-None-Match", `W/"wyzzy"`)
resp, err := client.Do(req)
// ...
Close the response body when the request is complete.
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)