Documentation
¶
Index ¶
- type MyBudgetDB
- func (h MyBudgetDB) AddBudgetExpenditure(spent int, category string) error
- func (h MyBudgetDB) CalculateRemaining(cr *entities.BudgetCalculateVariables) ([2]int, error)
- func (h MyBudgetDB) CreateBudget(bv *entities.BudgetVariables) error
- func (h MyBudgetDB) GetBudgetData(filepath, filename string) error
- func (h MyBudgetDB) InsertHistory(hv *entities.HistoryVariables) error
- func (h MyBudgetDB) ListOfExpection(bv *entities.BudgetVariables) ([]int, []int, error)
- func (h MyBudgetDB) RemoveBudget(category string) error
- func (h MyBudgetDB) RemoveHistory(category string) error
- func (h MyBudgetDB) TakeBudgetAmount() ([]string, []int, error)
- func (h MyBudgetDB) UpdateBudget(bv *entities.BudgetVariables, new_category string) error
- func (h MyBudgetDB) UpdateBudgetCategory(new, old string) error
- func (h MyBudgetDB) ViewBudget(category string) ([5]interface{}, error)
- func (h MyBudgetDB) ViewHistory(category string) ([2]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyBudgetDB ¶
func (MyBudgetDB) AddBudgetExpenditure ¶
func (h MyBudgetDB) AddBudgetExpenditure(spent int, category string) error
func (MyBudgetDB) CalculateRemaining ¶ added in v0.1.112
func (h MyBudgetDB) CalculateRemaining(cr *entities.BudgetCalculateVariables) ([2]int, error)
func (MyBudgetDB) CreateBudget ¶
func (h MyBudgetDB) CreateBudget(bv *entities.BudgetVariables) error
func (MyBudgetDB) GetBudgetData ¶
func (h MyBudgetDB) GetBudgetData(filepath, filename string) error
func (MyBudgetDB) InsertHistory ¶
func (h MyBudgetDB) InsertHistory(hv *entities.HistoryVariables) error
func (MyBudgetDB) ListOfExpection ¶ added in v0.1.124
func (h MyBudgetDB) ListOfExpection(bv *entities.BudgetVariables) ([]int, []int, error)
func (MyBudgetDB) RemoveBudget ¶
func (h MyBudgetDB) RemoveBudget(category string) error
func (MyBudgetDB) RemoveHistory ¶
func (h MyBudgetDB) RemoveHistory(category string) error
func (MyBudgetDB) TakeBudgetAmount ¶
func (h MyBudgetDB) TakeBudgetAmount() ([]string, []int, error)
func (MyBudgetDB) UpdateBudget ¶
func (h MyBudgetDB) UpdateBudget(bv *entities.BudgetVariables, new_category string) error
func (MyBudgetDB) UpdateBudgetCategory ¶ added in v0.1.122
func (h MyBudgetDB) UpdateBudgetCategory(new, old string) error
func (MyBudgetDB) ViewBudget ¶
func (h MyBudgetDB) ViewBudget(category string) ([5]interface{}, error)
func (MyBudgetDB) ViewHistory ¶
func (h MyBudgetDB) ViewHistory(category string) ([2]interface{}, error)
Click to show internal directories.
Click to hide internal directories.