title: Go template/html iteration to generate table from struct
body: <p>Given a collection of structs, how can I use the "range" template iterator to print out a table that assigns a row per struct, and a column per field value without explicity naming the fields? </p>
  
  <pre><code>container := []Node
  
  type Node struct {
      Contact_id        int
      Employer_id       int
      First_name        string
      Middle_name       string
      Last_name         string
  }
  </code></pre>
  
  <p>Template Code: </p>
  
  <pre><code>{{range .container}}
  
  &lt;tr&gt;
  &lt;td&gt;{{.Prefix}}&lt;/td&gt;
  &lt;td&gt;{{.First_name}}&lt;/td&gt;
  &lt;td&gt;{{.Middle_name}}&lt;/td&gt;
  &lt;td&gt;{{.Last_name}}&lt;/td&gt;
  
  &lt;td&gt;{{.Contact_id}}&lt;/td&gt;
  &lt;td&gt;{{.Employer_id}}&lt;/td&gt;
  
  &lt;/tr&gt;
  {{end}}
  </code></pre>
  
  <hr>
  
  <p>When I try iterating through the values using</p>
  
  <pre><code>{{range .container}}
   {{range .}}
   &lt;td&gt;{{.}}&lt;/td&gt; 
  {{end}}
  {{end}}
  </code></pre>
  
  <p>I am told that I cannot iterate over the Values. 
  Is there any clean way to do this? </p>