title: sql: converting argument $1 type: unsupported type []int, a slice of in
body: <p>Have this:</p>
  
  <pre><code>somevars := []int{1, 2, 3, 4}
  rows, err = db.Query("SELECT c1,c2 FROM table"+tid+" WHERE c1 IN($1,$2,$3,$4);", somevars)
  </code></pre>
  
  <p>Got this:</p>
  
  <p>sql: converting argument $1 type: unsupported type []int, a slice of int</p>
  
  <p>Any way to make a slice of arguments work with lib/pq?</p>