func StringSliceToIntSlice(ss []string) ([]int, error) {
	ret := make([]int, len(ss))
	for i, v := range ss {
		var err error
		ret[i], err = strconv.Atoi(v)
		if err != nil {
			return nil, err
		}
	}

	return ret, nil
}
// StringSliceToIntSlice converts a slice of strings to a slice of ints.
// Returns an error if any values cannot be parsed.
StringSliceToIntSlice converts a slice of strings to a slice of ints.
Returns an error if any values cannot be parsed.
// StringSliceToIntSlice converts a slice of strings to a slice of ints . // Returns an error if any values cannot be parsed .
func StringSliceToIntSlice(ss []string) ([]int, error) {
	ret := make([]int, len(ss))
	for i, v := range ss {
		var err error
		ret[i], err = strconv.Atoi(v)
		if err != nil {
			return nil, err
		}
	}
	return ret, nil
}
func StringSliceToIntSlice ( ss [ ] string ) ( [ ] int , error ) { ret := make ( [ ] int , len ( ss ) ) for i , v := range ss { var err error ret [ i ] , err = strconv . Atoi ( v ) if err != nil { return nil , err } } return ret , nil }
StringSliceToIntSlice converts a slice of strings to a slice of ints.
StringSliceToIntSlice converts a slice of strings to a slice of ints .