qif

package
v0.0.0-...-f6a722c Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	Date   time.Time
	Payee  string
	Amount float64
	Memo   string
}

type Writer

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

Writer is not safe for concurrent use

func NewWriter

func NewWriter(w io.Writer, accountName, accountQIFType, dateFormat string) *Writer

NewWriter returns a Writer which is not safe for concurrent use

func (*Writer) WriteTransaction

func (w *Writer) WriteTransaction(tx Transaction) error

func (*Writer) WriteTransactions

func (w *Writer) WriteTransactions(transactions []Transaction) error

Jump to

Keyboard shortcuts

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