I am using the pg package and having issues with rows.Scan()
//Normal usage
var columnNameOne int
var columnNameTwo string
rows.Scan(&columnNameOne, &columnNameTwo)
//What I want to be possible
func dynamicRowScan(args ...interface{}) {
rows.Scan(&args...)
}
is there anyway to pass a dynamic amount of pointers into this?