Easier Go slice SQL parameter using ANY and array type
When we want to use SQL's `IN` but we are feeding the elements of the set from Go, it can get frustrating to construct a SQL string with `where id in ($1, $2, $3, ...)`. Instead, use `ANY` and the SQL array type instead:
rows, err := db.QueryContext(ctx, `select id, name from users where id = any ($1)`, pq.Array(locationIDs), )