Documentation
¶
Index ¶
- func CreateNewCustomPlainTextDataTable(dataTable datatable.ImportedDataTable, ...) *customPlainTextDataTable
- func CreateNewCustomTransactionDataDsvFileImporter(fileType string, fileEncoding string, ...) (base.TransactionDataImporter, error)
- func IsDelimiterSeparatedValuesFileType(fileType string) bool
- type CustomTransactionDataDsvFileParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewCustomPlainTextDataTable ¶
func CreateNewCustomPlainTextDataTable(dataTable datatable.ImportedDataTable, columnIndexMapping map[datatable.TransactionDataTableColumn]int, transactionTypeNameMapping map[string]models.TransactionType, timeFormat string, timezoneFormat 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, geoLocationSeparator string, transactionTagSeparator string) (base.TransactionDataImporter, error)
CreateNewCustomTransactionDataDsvFileImporter returns a new custom dsv importer for transaction data
func IsDelimiterSeparatedValuesFileType ¶
IsDelimiterSeparatedValuesFileType returns whether the file type is the delimiter-separated values file type
Types ¶
type CustomTransactionDataDsvFileParser ¶
type CustomTransactionDataDsvFileParser interface {
ParseDsvFileLines(ctx core.Context, data []byte) ([][]string, error)
}
func CreateNewCustomTransactionDataDsvFileParser ¶
func CreateNewCustomTransactionDataDsvFileParser(fileType string, fileEncoding string) (CustomTransactionDataDsvFileParser, error)
CreateNewCustomTransactionDataDsvFileParser returns a new custom dsv parser for transaction data
Click to show internal directories.
Click to hide internal directories.