records

package
v0.0.0-...-69a507d Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const NA = "n.a."

Variables

This section is empty.

Functions

func GenerateExpenseRec

func GenerateExpenseRec(s schema.Schema, exp schema.Expense, dstPath string, downConvert bool, wg *sync.WaitGroup)

func GenerateExpensesRec

func GenerateExpensesRec(s schema.Schema, dstFolder string, doOverwrite, downConvert bool)

func GenerateInvoiceRec

func GenerateInvoiceRec(s schema.Schema, inv schema.Invoice, dstPath string, downConvert bool, wg *sync.WaitGroup)

func GenerateInvoicesRec

func GenerateInvoicesRec(s schema.Schema, dstPath string, doOverwrite, downConvert bool)

func GenerateMiscRec

func GenerateMiscRec(s schema.Schema, mrc schema.MiscRecord, dstPath string, downConvert bool, wg *sync.WaitGroup)

func GenerateMiscsRec

func GenerateMiscsRec(s schema.Schema, dstPath string, doOverwrite, downConvert bool)

Types

type Pdf

type Pdf struct {
	SrcPath string
	ScrType ScrType
	DstPath string
	// contains filtered or unexported fields
}

func NewPdf

func NewPdf(srcPath, dstPath string) *Pdf

func (*Pdf) Generate

func (p *Pdf) Generate(props Properties, downConvert bool)

type PdfVersion

type PdfVersion int

type Properties

type Properties struct {
	Type       string
	Identifier string
	DstName    string
	Line1      string
	Line2      string
	Line3      string
	Line4      string
	Line5      string
}

type ScrType

type ScrType int
const (
	PDF ScrType = iota
	PNG
)

Jump to

Keyboard shortcuts

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