findata

package
v0.0.0-...-ff1ddd2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 8 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) HTMLTable

func (c Currency) HTMLTable(view View) gomponents.Node

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