custom

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewCustomPlainTextDataTable

func CreateNewCustomPlainTextDataTable(dataTable datatable.BasicDataTable, columnIndexMapping map[datatable.TransactionDataTableColumn]int, transactionTypeNameMapping map[string]models.TransactionType, timeFormat string, timezoneFormat string, amountDecimalSeparator string, amountDigitGroupingSymbol string) *customPlainTextDataTable

CreateNewCustomPlainTextDataTable returns transaction data table from imported data table

func CreateNewCustomTransactionDataDsvFileImporter

func CreateNewCustomTransactionDataDsvFileImporter(fileType string, fileEncoding string, columnIndexMapping map[datatable.TransactionDataTableColumn]int, transactionTypeNameMapping map[string]models.TransactionType, hasHeaderLine bool, timeFormat string, timezoneFormat string, amountDecimalSeparator string, amountDigitGroupingSymbol string, geoLocationSeparator string, geoLocationOrder string, transactionTagSeparator string) (converter.TransactionDataImporter, error)

CreateNewCustomTransactionDataDsvFileImporter returns a new custom dsv importer for transaction data

func CreateNewCustomTransactionDataExcelFileImporter

func CreateNewCustomTransactionDataExcelFileImporter(fileType string, columnIndexMapping map[datatable.TransactionDataTableColumn]int, transactionTypeNameMapping map[string]models.TransactionType, hasHeaderLine bool, timeFormat string, timezoneFormat string, amountDecimalSeparator string, amountDigitGroupingSymbol string, geoLocationSeparator string, geoLocationOrder string, transactionTagSeparator string) (converter.TransactionDataImporter, error)

CreateNewCustomTransactionDataExcelFileImporter returns a new custom excel importer for transaction data

func IsCustomExcelFileType

func IsCustomExcelFileType(fileType string) bool

IsCustomExcelFileType returns whether the file type is the custom excel file type

func IsDelimiterSeparatedValuesFileType

func IsDelimiterSeparatedValuesFileType(fileType string) bool

IsDelimiterSeparatedValuesFileType returns whether the file type is the delimiter-separated values file type

Types

type CustomTransactionDataParser

type CustomTransactionDataParser interface {
	ParseDataLines(ctx core.Context, data []byte) ([][]string, error)
}

CustomTransactionDataParser represents the parser for custom transaction data files

func CreateNewCustomTransactionDataDsvFileParser

func CreateNewCustomTransactionDataDsvFileParser(fileType string, fileEncoding string) (CustomTransactionDataParser, error)

CreateNewCustomTransactionDataDsvFileParser returns a new custom transaction data parser

func CreateNewCustomTransactionDataExcelFileParser

func CreateNewCustomTransactionDataExcelFileParser(fileType string) (CustomTransactionDataParser, error)

CreateNewCustomTransactionDataExcelFileParser returns a new custom transaction data parser

Jump to

Keyboard shortcuts

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