engine

package
v0.0.0-...-5b668fc Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

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

func New

func New(config *types.Config, fsys fs.FS) (*Engine, error)

func (*Engine) ExportAccounts

func (e *Engine) ExportAccounts(writer io.Writer, tpl *types.Template, accounts []*types.Account) error

func (*Engine) ExportClients

func (e *Engine) ExportClients(writer io.Writer, tpl *types.Template, clients []*types.Client) error

func (*Engine) ExportInvoices

func (e *Engine) ExportInvoices(writer io.Writer, tpl *types.Template, invoices []*types.Invoice, account *types.Account) error

func (*Engine) ExportProjects

func (e *Engine) ExportProjects(writer io.Writer, tpl *types.Template, projects []*types.Project) error

func (*Engine) Meta

func (e *Engine) Meta(tpl *types.Template) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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