Declaration func CostMoney(target entity<Wallet>, moneyType MoneyType, count float) go Parameters Input Name Type Description Target Wallet Target wallet Money Type MoneyType Reduced currency type Count Float Reduced currency amount