model

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReadyToAssign

func GetReadyToAssign(groups []*BudgetCategoryGroup) (int64, int16)

GetReadyToAssign reads the "Ready to Assign" balance, if found, from the given groups

func PrintBudgetCategoryGroups

func PrintBudgetCategoryGroups(budgetCategoryGroups []*BudgetCategoryGroup)

Types

type Budget

type Budget struct {
	ID   string
	Name string
}

type BudgetCategory

type BudgetCategory struct {
	ID              string
	Name            string
	BudgetedDollars int64
	BudgetedCents   int16
}

type BudgetCategoryGroup

type BudgetCategoryGroup struct {
	Name       string
	Categories []*BudgetCategory
}

Jump to

Keyboard shortcuts

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