title: How to zip two arrays
body: <p>I start out with two arrays in a struct that I hand over to the template engine.
  The first array is a list of first names, the second array is a list of last names.</p>
  <p>How do I get the Golang-template to print a list of full names?</p>
  <p>What I have:</p>
  <pre><code>package main
  import (
      &quot;os&quot;
      &quot;text/template&quot;
  )
  func main() {
      type Monty struct {
          FirstName [5]string
          LastName  [5]string
      }
      python := Monty{
          FirstName: [5]string{&quot;John&quot;, &quot;Eric&quot;, &quot;Terry&quot;, &quot;Terry&quot;, &quot;Michael&quot;},
          LastName:  [5]string{&quot;Cleese&quot;, &quot;Idle&quot;, &quot;Gilliam&quot;, &quot;Jones&quot;, &quot;Palin&quot;},
      }
      t := template.Must(template.New(&quot;t3&quot;).Parse(`
      {{ range .FirstName }}
        {{.}}
      {{ end }}
  `))
      t.Execute(os.Stdout, python)
  }
  </code></pre>
  <p>The expected out is</p>
  <pre><code>John Cleese
  Eric Idle
  Terry Gilliam
  Terry Jones
  Michael Palin
  </code></pre>
  <p>I have tried to use &quot;index&quot;, &quot;pipelines&quot;, and &quot;range&quot; and more.</p>