Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deduplicate ¶
func Deduplicate(txs []domain.Transaction) []domain.Transaction
Deduplicate removes transactions with identical date+description+amount+currency+bank. This handles overlapping date ranges when loading multiple files from the same bank.
Types ¶
type BBVA ¶
type BBVA struct{}
type Parser ¶
type Parser interface {
Name() string
// Detect returns true if this parser owns the file.
// path is the file path (useful for extension checks).
// header is the first CSV row; nil for non-CSV formats.
Detect(path string, header []string) bool
Parse(r io.Reader) ([]domain.Transaction, error)
}
Parser knows how to read one bank's file format.
Click to show internal directories.
Click to hide internal directories.