title: Golang how to range in pointer array
body: <p>if I have PersonManager struct and it has *[]Person array. I want to range every item in this array. For example</p>
  
  <pre><code>manager := *PersonManager
  
  for ii := 0; len(*manager.allPersons); ii++{
      fmt.Println(manager.allPersons[:ii].name)
  }
  </code></pre>
  
  <p>for this example, manager variable is pointer and array that in this variable is pointer too. How can I range this items?</p>
  
  <p>Not: I m getting cannot slice manager.allPersons (type *[]Person) error</p>