Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
func Compare(t *Transaction, t2 *Transaction) compare.Order
Less defines an order on transactions.
Types ¶
type Builder ¶
type Builder struct { Src *syntax.Transaction Date time.Time Description string Postings []*posting.Posting Targets []*commodity.Commodity }
Builder builds transactions.
type Transaction ¶
type Transaction struct { Src *syntax.Transaction Date time.Time Description string Postings []*posting.Posting Targets []*commodity.Commodity }
Transaction represents a transaction.
func Create ¶
func Create(reg *registry.Registry, t *syntax.Transaction) ([]*Transaction, error)
Click to show internal directories.
Click to hide internal directories.