func revertServicePurchase(input []Stock) []Stock {
	if len(input) == 0 {
		return input
	}
	return append(revertServicePurchase(input[1:]), input[0])
}
// Reverts the order of the array ServicePurchase
Reverts the order of the array ServicePurchase
// Reverts the order of the array ServicePurchase
func revertServicePurchase(input []Stock) []Stock {
	if len(input) == 0 {
		return input
	}
	return append(revertServicePurchase(input[1:]), input[0])
}
func revertServicePurchase ( input [ ] Stock ) [ ] Stock { if len ( input ) == 0 { return input } return append ( revertServicePurchase ( input [ 1 : ] ) , input [ 0 ] ) }
Reverts the order of the array ServicePurchase
Reverts the order of the array ServicePurchase