dsv

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

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

func IsDelimiterSeparatedValuesFileType(fileType string) bool

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

Jump to

Keyboard shortcuts

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