title: Error unmarshalling JSON in Go that starts with an Array
body: <p>This is my code  </p>
  
  <pre><code>package main
  
  import (
      "encoding/json"
      "log"
  )
  
  type Data struct {
      Page          int
      Pages         int
      PerPage       string
      Total         int
      CountriesList []Country
  }
  type Country struct {
      Id  string
      Iso string
  }
  
  func main() {
      body := []byte(`[
      {
          "page": 1,
          "pages": 6,
          "per_page": "50",
          "total": 256
      },
      [
          {
              "id": "ABW",
              "iso2Code": "AW"}]]`)
  
      items := make([]Data, 10)
  
      if err := json.Unmarshal(body, &amp;items); err != nil {
          log.Fatalf("error %v", err)
      }
  }
  </code></pre>
  
  <p>I'm try to unmarshall some JSON and getting the following error:
  <strong>error json: cannot unmarshal array into Go value of type main.Data</strong></p>