title: (integer) index of slice as array of structures
body: <p>Is it possible in Go create array with where each element of array will  be array of slices or structures.</p>
  
  <p>Something like in PHP</p>
  
  <pre><code>    $a = [1=&gt;"test", 2=&gt;""]
      // in this example 2 is integer will be for GoLang?
      $a[2] = [ object, object, object ]
  </code></pre>
  
  <p>Can I do in Go something like ? I know about incorrect syntax.</p>
  
  <pre><code>   var a [int][]StructureName
  
     b := make([]StructureName, 0)
     b := append ( b, StructureName{a, b, c, d})
     b := append ( b, StructureName{e, f, g, h})
  
     a[0] = append (a[0][0], b)
  
  `/*
  [
  1 =&gt; [
      ‘username1’, &lt;-- string element
      ‘events’=&gt;[ &lt;-- array of structures
          object1, &lt;-- structure
          object2, &lt;-- structure
          object3 &lt;-- structure
          ]
      ],
  2 =&gt; [ &lt;-- next record
      ‘username2’,
      ‘events’=&gt;[
          object1,
          object2,
          object3
          ]
      ]
  ]
  */
  `
  </code></pre>