Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
func NewAccount ¶
type Customer ¶
func NewCustomer ¶
type Transaction ¶
func NewTransaction ¶
func NewTransaction(to, from *Account, amount float64) (*Transaction, error)
func (*Transaction) Commit ¶
func (e *Transaction) Commit()
func (*Transaction) IsValid ¶
func (e *Transaction) IsValid() error
Click to show internal directories.
Click to hide internal directories.