package
0.3.0
Repository: https://github.com/vitorqb/addledger.git
Documentation: pkg.go.dev

# Functions

NewCSVLoader creates a new CSVStatementLoader.
WithCSVLoaderAccountName returns a CSVLoaderOption that sets the account name.
WithCSVLoaderDefaultCommodity returns a CSVLoaderOption that sets the default commodity.
WithCSVLoaderMapping returns a CSVLoaderOption that sets the column mappings.
WithCSVSeparator returns a CSVLoaderOption that sets the separator.

# Variables

DefaultCSVLoaderConfig set the default CSVLoaderConfig.

# Structs

AccountImporter imports the account field.
AmmountImporter imports the amount field.
CSVColumnMapping maps a csv column to a statement entry field.
CSVLoader loads a bank statement from a csv file.
CSVLoaderConfig represents the options for a CSVLoader.
DateImporter imports the date field.
DescriptionImporter imports the description field.
StatementEntry represents a single entry in a bank statement.

# Interfaces

A FieldImporter knows how to import a field from a string.
StatementLoader is an interface representing a bank statement loader.

# Type aliases

CSVLoaderOption is a function that configures a CSVLoaderConfig.