func readFileAsNumbersCsv() ([]int, error) {
	lines, err := readFileAsStrings()
	if err != nil {
		return nil, err
	}
	var res []int
	for _, l := range lines {
		numbers, err := readLineAsNumbersCsv(l)
		if err != nil {
			return nil, fmt.Errorf("Error parsing num: %v", err)
		}
		res = append(res, numbers...)
	}
	return res, nil
}
// Read input file as a multi line comma separated numbers
Read input file as a multi line comma separated numbers
// Read input file as a multi line comma separated numbers
func readFileAsNumbersCsv() ([]int, error) {
	lines, err := readFileAsStrings()
	if err != nil {
		return nil, err
	}
	var res []int
	for _, l := range lines {
		numbers, err := readLineAsNumbersCsv(l)
		if err != nil {
			return nil, fmt.Errorf("Error parsing num: %v", err)
		}
		res = append(res, numbers...)
	}
	return res, nil
}
func readFileAsNumbersCsv ( ) ( [ ] int , error ) { lines , err := readFileAsStrings ( ) if err != nil { return nil , err } var res [ ] int for _ , l := range lines { numbers , err := readLineAsNumbersCsv ( l ) if err != nil { return nil , fmt . Errorf ( " " , err ) } res = append ( res , numbers ... ) } return res , nil }
Read input file as a multi line comma separated numbers
Read input file as a multi line comma separated numbers