register

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Register

type Register struct {
	Context journal.Context
	Domain  journal.Filter
	Filter  journal.Filter

	ShowCommodities bool
	Valuation       *journal.Commodity
	Mapping         journal.Mapping
	// contains filtered or unexported fields
}

Register represents a register report.

func (*Register) Add

func (r *Register) Add(d *ast.Day)

Add adds another day.

func (*Register) Render

func (r *Register) Render(w io.Writer) error

Render renders the register.

func (*Register) Sink

func (r *Register) Sink(ctx context.Context, ch <-chan *ast.Day) error

type Section

type Section struct {
	// contains filtered or unexported fields
}

Section represents one day in the register report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL