cointracking

package
v0.0.0-...-eb5064c Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func New

func New(
	appCtx interfaces.AppContext,
	wailsRuntime interfaces.WailsRuntime,
	csvReader interfaces.CointrackingCsvReader,
) *Backend

func (*Backend) GetExportFiles

func (c *Backend) GetExportFiles() ([]*common.ExportFileInfo, error)

func (*Backend) OpenExportFile

func (c *Backend) OpenExportFile(timezone string) (string, error)

type CsvDecoder

type CsvDecoder struct {
	// contains filtered or unexported fields
}

func NewCsvDecoder

func NewCsvDecoder(reader io.Reader) *CsvDecoder

func (*CsvDecoder) GetCSVRow

func (c *CsvDecoder) GetCSVRow() ([]string, error)

func (*CsvDecoder) GetCSVRows

func (c *CsvDecoder) GetCSVRows() ([][]string, error)

type CsvReader

type CsvReader struct {
}

func NewCsvReader

func NewCsvReader() *CsvReader

func (*CsvReader) ReadFile

func (c *CsvReader) ReadFile(
	absoluteFilePath string,
	loc *time.Location,
	existingTxIDs []string,
) (*common.ExportFileInfo, error)

Jump to

Keyboard shortcuts

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