Documentation
¶
Index ¶
- type Printer
- func (p *Printer) Initialize(directive []model.Directive)
- func (p *Printer) PrintDirective(directive model.Directive) (n int, err error)
- func (p *Printer) PrintDirectiveLn(d model.Directive) (n int, err error)
- func (p *Printer) UpdatePadding(t *model.Transaction)
- func (p *Printer) Write(bs []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
Printer prints directives.
func (*Printer) Initialize ¶
Initialize initializes the padding of this printer.
func (*Printer) PrintDirective ¶
PrintDirective prints a directive to the given Writer.
func (*Printer) PrintDirectiveLn ¶
PrintDirectiveLn prints a directive to the given Writer, followed by a newline.
func (*Printer) UpdatePadding ¶
func (p *Printer) UpdatePadding(t *model.Transaction)
Click to show internal directories.
Click to hide internal directories.