Documentation ¶ Index ¶ func Compare(p, p2 *Posting) compare.Order type Builder func (pb Builder) Build() []*Posting type Builders func (pbs Builders) Build() []*Posting type Posting func Create(reg *registry.Registry, bs []syntax.Booking) ([]*Posting, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Compare ¶ func Compare(p, p2 *Posting) compare.Order Types ¶ type Builder ¶ type Builder struct { Src *syntax.Booking Quantity, Value decimal.Decimal Credit, Debit *account.Account Commodity *commodity.Commodity } func (Builder) Build ¶ func (pb Builder) Build() []*Posting type Builders ¶ type Builders []Builder func (Builders) Build ¶ func (pbs Builders) Build() []*Posting type Posting ¶ type Posting struct { Src *syntax.Booking Quantity, Value decimal.Decimal Account, Other *account.Account Commodity *commodity.Commodity } Posting represents a posting. func Create ¶ func Create(reg *registry.Registry, bs []syntax.Booking) ([]*Posting, error) Source Files ¶ View all Source files posting.go Click to show internal directories. Click to hide internal directories.