title: Converting Go struct to string
body: <p>My Code :</p>
  
  <pre><code>type Link struct {
      Href string `xml:"href,attr"`
  }
  
  var html Link = ""
  func (s Entry) String() string {
    links := string(s.Link)
  }
  </code></pre>
  
  <p>I parsed a whole XML document to get the links and text, Now I want to append all the parsed data in <code>html</code> variable to construct a nice view on the localhost. But <code>s.Link</code> can't be converted to string data type maybe because type conversion only supports basic data-types , Any Solutions ?</p>
  
  <p>Live demo : <a href="http://play.golang.org/p/7HRHusXLe2" rel="nofollow">http://play.golang.org/p/7HRHusXLe2</a></p>