Versions in this module Expand all Collapse all v0 v0.2.0 Apr 27, 2021 v0.1.0 Jan 4, 2021 Changes in this version + func Balance(a *Account) int + func Deposit(a *Account, m int) (int, error) + func History(a *Account) func() (amt, bal int, more bool) + func ListAccounts() string + func Load() error + func Name(a *Account) string + func Save() (err error) + func Transfer(a, b *Account, m int) (int, int, error) + func Withdraw(a *Account, m int) (int, error) + type Account struct + Bal int + Hist []history + Name string + func GetAccount(name string) (*Account, error) + func NewAccount(s string) *Account