Is there a placeholder-like dummy pointer type which will allow not to make extra variable for rows.Scan() when number of columns mismatch with number of args in rows.Scan() in golang ?
rows, err := db.Query(`SELECT 1, 2, 3`)
for rows.Next() {
var c1 int
var c2 int
// panic (number of arguments mismatch)
err = rows.Scan(&c1, &c2)
// syntax error
err = rows.Scan(&c1, &c2, _)
// Scan error on column index 2: destination not a pointer
err = rows.Scan(&c1, &c2, nil)
}