Versions in this module Expand all Collapse all v1 v1.0.0 Jan 17, 2021 Changes in this version + const RecordTemplate + func GetTemplate(file string) string + func ProcessCsvFile(file io.Reader, config Config, template string) + func SetViperDefaults(cfgFile string) + type Config struct + Csv CsvConfig + TransactionsRules TransactionsRulesConfig + func GetConfig() Config + type CsvConfig struct + AmountIn int + AmountOut int + Currency string + Date int + DateLayoutIn string + DateLayoutOut string + DefaultAccount string + Description int + Fields int + Payee int + ProcessingAccount string + Separator rune + Skip int + type Record struct + AccountIn string + AccountOut string + AmountIn string + AmountOut string + Comment string + Currency string + Date string + Description string + Payee string + Raw string + type TransactionRule struct + MatchDescription string + MatchPayee string + SetAccount string + SetComment string + type TransactionsRulesConfig map[string]TransactionRule