findata

package
v4.0.0-...-9e2d425 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ViewHoldings = iota
	ViewIncomes
	ViewExpenses
)

Variables

View Source
var RawSchema []byte

Functions

This section is empty.

Types

type Currency

type Currency struct {
	Currency string
	Holdings []string
	Incomes  []string
	Expenses []string
	Months   []Month
}

func DecodeOne

func DecodeOne(b []byte) (Currency, error)

func (Currency) MarkdownTable

func (c Currency) MarkdownTable(view View) []byte

func (Currency) TabTable

func (c Currency) TabTable(view View) []byte

type Month

type Month struct {
	Year         int
	Month        int
	Transactions []Transaction
}

type Transaction

type Transaction struct {
	Src  string
	Dst  string
	Val  int
	Note string
}

type View

type View int

Jump to

Keyboard shortcuts

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