accounting

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CostBalance added in v0.2.5

func CostBalance(postings []posting.Posting) float64

func CurrentBalance added in v0.2.8

func CurrentBalance(postings []posting.Posting) float64

func FIFO added in v0.2.5

func FIFO(postings []posting.Posting) []posting.Posting

func FilterByGlob added in v0.2.5

func FilterByGlob(postings []posting.Posting, accounts []string) []posting.Posting

Types

type Balance

type Balance struct {
	Date      time.Time
	Commodity string
	Quantity  float64
}

func Register

func Register(postings []posting.Posting) []Balance

Jump to

Keyboard shortcuts

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