func SelectStrings(tx *sql.Tx, query string, args ...interface{}) ([]string, error) {
	values := []string{}
	scan := func(rows *sql.Rows) error {
		var value string
		err := rows.Scan(&value)
		if err != nil {
			return err
		}
		values = append(values, value)
		return nil
	}

	err := scanSingleColumn(tx, query, args, "TEXT", scan)
	if err != nil {
		return nil, err
	}

	return values, nil
}
func SelectStrings(tx *sql.Tx, query string, args ...interface{}) ([]string, error) {
	values := []string{}
	scan := func(rows *sql.Rows) error {
		var value string
		err := rows.Scan(&value)
		if err != nil {
			return err
		}
		values = append(values, value)
		return nil
	}

	err := scanSingleColumn(tx, query, args, "TEXT", scan)
	if err != nil {
		return nil, err
	}

	return values, nil
}
func SelectStrings ( tx * sql . Tx , query string , args ... interface { } ) ( [ ] string , error ) { values := [ ] string { } scan := func ( rows * sql . Rows ) error { var value string err := rows . Scan ( & value ) if err != nil { return err } values = append ( values , value ) return nil } err := scanSingleColumn ( tx , query , args , " " , scan ) if err != nil { return nil , err } return values , nil }
// SelectStrings executes a statement which must yield rows with a single string
// column. It returns the list of column values.
SelectStrings executes a statement which must yield rows with a single string column . It returns the list of column values .