title: Print array values in Go
body: <p>I'm trying to define an array in struct in Go, devices array should have 3 items of type strings, but I can't find out how to print values of devices array</p>
  
  <p>Below outputs "mismatched types string and [2]string". Any hints?</p>
  
  <pre><code>type Nodes struct {
  Nodes []Node `json:"nodes"`
  }
  
  type Node struct {
  devices       [2]string `json:"devices"`
  }
  
  var nodes Nodes
  fmt.Println("Device: %+v" + nodes.Nodes[i].devices)
  </code></pre>