title: How do I handle plain text HTTP Get response in Golang?
body: <p>I am making an HTTP GET request to an endpoint that returns a plain text response.</p>
  <p>How do I grab the string of the plain text response?</p>
  <p>My code looks like the following:</p>
  <pre class="lang-golang prettyprint-override"><code>url := &quot;http://someurl.com&quot;
  
  response, err := http.Get(url)
  if err != nil {
      log.Fatal(err)
  }
  defer response.Body.Close()
  responseString := //NOT SURE HOW TO GRAB THE PLAIN TEXT STRING
  </code></pre>