budget_db

package
v0.1.92 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBudgetExpenditure added in v0.1.83

func AddBudgetExpenditure(spent int, category string) error

func CreateBudget added in v0.1.48

func CreateBudget(bv *entities.BudgetVariables, basePath string) error

func GetBudgetData added in v0.1.48

func GetBudgetData(filepath, filename string) error

func InsertHistory added in v0.1.85

func InsertHistory(hv *entities.HistoryVariables, basePath string) error

func RemoveBudget added in v0.1.48

func RemoveBudget(category string) error

func RemoveHistory added in v0.1.88

func RemoveHistory(category string) error

func UpdateBudget added in v0.1.48

func UpdateBudget(old, new string, amount int) error

func ViewBudget added in v0.1.48

func ViewBudget(category string) ([5]interface{}, error)

func ViewHistory added in v0.1.87

func ViewHistory(category string) ([2]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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