Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractContextValue ¶
ExtractContextValue extracts the value by key
func GetCurrentISOTime ¶
func GetCurrentISOTime() string
func SumAccountBalances ¶
func SumAccountBalances(accountA int, accountB int, client BankConnection) (float64, error)
SumAccountBalances sum the amount of two accounts
Types ¶
type BankConnection ¶
BankConnection interface definition
func GetBankConnection ¶
func GetBankConnection() BankConnection
GetBankConnection gets a connection to a bank
Click to show internal directories.
Click to hide internal directories.