title: omit type of array in a function argument with golang
body: <p>I'm writing a write method, to write an array of value to InfluxDB</p>
  
  <p>What I would like is to be able to have something like:</p>
  
  <pre><code>func (influxClient *InfluxClient) Write(myArray []interface{}) (error) {
      fmt.Print(myArray)
      // Insert into DB
      return nil
  
  }
  </code></pre>
  
  <p>Where <code>myArray</code> could be an array with any objects inside</p>
  
  <p>I tried to use <code>myArray []interface{}</code> to ommit myArray's type, but it doesn't work, I get: </p>
  
  <pre><code>Cannot use 'meters' (type []models.Meter) as type []interface{}
  </code></pre>
  
  <p>Is it possible to achieve it ? </p>
  
  <p>How should I do ?</p>