title: Get index number from range
body: <p>In to get the index number php:</p>
  
  <pre><code>foreach much as index =&gt; each{
   //get index number from index
  }
  </code></pre>
  
  <p>How can I get the index number in go?</p>
  
  <pre><code>{{ range .post }}
     {{ // how can i get index number? }}
     {{ .Id }}
     {{ .Name}}
  {{ end}}
  </code></pre>