transaction

package
v0.0.0-...-23c3d5d Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Repo() types.RepoI
}

type TxModule

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

func New

func New(config Config) *TxModule

func (*TxModule) Add

func (t *TxModule) Add(description, date, amount string) error

func (*TxModule) Get

func (t *TxModule) Get(id, targetCurrency string) (outRec record.ConvertedTransaction, err error)

func (*TxModule) List

func (t *TxModule) List() []record.TransactionRecord

func (*TxModule) Load

func (t *TxModule) Load() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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