func revertSales(input []Sale) []Sale {
	if len(input) == 0 {
		return input
	}
	return append(revertSales(input[1:]), input[0])
}
// Reverts the order of the array SALES
// Go has no generics, so can not convert array X into array interface.
Reverts the order of the array SALES
Go has no generics, so can not convert array X into array interface.
// Reverts the order of the array SALES // Go has no generics so can not convert array X into array interface .
func revertSales(input []Sale) []Sale {
	if len(input) == 0 {
		return input
	}
	return append(revertSales(input[1:]), input[0])
}
func revertSales ( input [ ] Sale ) [ ] Sale { if len ( input ) == 0 { return input } return append ( revertSales ( input [ 1 : ] ) , input [ 0 ] ) }
Reverts the order of the array SALES
Go has no generics, so can not convert array X into array interface.
Reverts the order of the array SALES Go has no generics so can not convert array X into array interface .