export

package
v0.1.1-0...-b1a8328 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package export writes a unified transaction list out as CSV or JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteCSV

func WriteCSV(w io.Writer, txs []model.Transaction) error

WriteCSV writes the transactions as a comma-separated file with a fixed header. Amounts use a dot decimal separator (e.g. -12.34) and dates are ISO-8601, so the output is portable into spreadsheets and budgeting tools regardless of the source bank's quirks.

func WriteJSON

func WriteJSON(w io.Writer, txs []model.Transaction) error

WriteJSON writes the transactions as a pretty-printed JSON array.

Types

This section is empty.

Jump to

Keyboard shortcuts

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