Documentation
¶
Index ¶
- func GetBalance(b Banker, name string) int
- func GetBankInfo(b Banker) string
- func MakeDeposit(b Banker, name string, deposit int) int
- func MakeWithdraw(b Banker, name string, withdraw int) int
- func NewBoaAccount(b Banker, name string, deposit int)
- func NewBoaCard(b Banker, name string) card.Carder
- type Banker
- type BoaBank
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDeposit ¶
MakeDeposit makes a deposit
func MakeWithdraw ¶
MakeWithdraw makes a withdrawal
func NewBoaAccount ¶
NewBoaAccount to crate an account at a bank
Types ¶
Click to show internal directories.
Click to hide internal directories.