Documentation ¶ Overview ¶ Package printer writes beancount AST nodes as formatted text. Index ¶ func Fprint(w io.Writer, node any, opts ...format.Option) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Fprint ¶ func Fprint(w io.Writer, node any, opts ...format.Option) error Fprint writes the beancount text representation of the given value to w. The value can be ast.Directive (any concrete type), ast.File, ast.Ledger, []ast.Directive, or ast.Amount. Types ¶ This section is empty. Source Files ¶ View all Source files printer.go Click to show internal directories. Click to hide internal directories.