title: Use goquery to extract text from html, but the result still contains html tag
body: <p>I'm trying to use golang to extract the text from html, and I use the goquery library to do this. 
  The code like below:</p>
  
  <pre><code>document, err := goquery.NewDocumentFromReader(r)
  if err != nil {
      log.Fatalln(err)
  }
  document.Find("script").Remove()
  document.Find("style").Remove()
  text := document.Find("body").Text()
  </code></pre>
  
  <p>The test html page:
  <a href="https://i.stack.imgur.com/qc9IC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qc9IC.png" alt="enter image description here"></a></p>
  
  <p>but the result:
  <a href="https://i.stack.imgur.com/u1E79.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u1E79.png" alt="enter image description here"></a></p>
  
  <p>you can find the result still contains the html tag, how could I remove the html tags and only keep the text?</p>