Documentation ¶
Index ¶
- type MyBudgetDatabase
- func (m MyBudgetDatabase) AddBudgetExpenditure(spent int, category string) error
- func (m MyBudgetDatabase) CreateBudget(bv *entities.BudgetVariables) error
- func (m MyBudgetDatabase) GetBudgetData(filepath, filename string) error
- func (m MyBudgetDatabase) RemoveBudget(category string) error
- func (m MyBudgetDatabase) TakeBudgetAmounts() ([]int, error)
- func (m MyBudgetDatabase) UpdateBudget(old, new string, amount int) error
- func (m MyBudgetDatabase) ViewBudget(category string) ([5]interface{}, error)
- type MyHistoryDatabase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyBudgetDatabase ¶ added in v0.1.97
type MyBudgetDatabase struct { interface_adapters.BudgetDatabase total_amount_db.MyTotalDatabase conversion.MyConversion db.MyConnect }
func (MyBudgetDatabase) AddBudgetExpenditure ¶ added in v0.1.97
func (m MyBudgetDatabase) AddBudgetExpenditure(spent int, category string) error
func (MyBudgetDatabase) CreateBudget ¶ added in v0.1.97
func (m MyBudgetDatabase) CreateBudget(bv *entities.BudgetVariables) error
func (MyBudgetDatabase) GetBudgetData ¶ added in v0.1.97
func (m MyBudgetDatabase) GetBudgetData(filepath, filename string) error
func (MyBudgetDatabase) RemoveBudget ¶ added in v0.1.97
func (m MyBudgetDatabase) RemoveBudget(category string) error
func (MyBudgetDatabase) TakeBudgetAmounts ¶ added in v0.1.103
func (m MyBudgetDatabase) TakeBudgetAmounts() ([]int, error)
func (MyBudgetDatabase) UpdateBudget ¶ added in v0.1.97
func (m MyBudgetDatabase) UpdateBudget(old, new string, amount int) error
func (MyBudgetDatabase) ViewBudget ¶ added in v0.1.97
func (m MyBudgetDatabase) ViewBudget(category string) ([5]interface{}, error)
type MyHistoryDatabase ¶ added in v0.1.97
type MyHistoryDatabase struct { interface_adapters.HistoryDatabase total_amount_db.MyTotalDatabase db.MyConnect }
func (MyHistoryDatabase) InsertHistory ¶ added in v0.1.97
func (m MyHistoryDatabase) InsertHistory(hv *entities.HistoryVariables) error
func (MyHistoryDatabase) RemoveHistory ¶ added in v0.1.97
func (m MyHistoryDatabase) RemoveHistory(category string) error
func (MyHistoryDatabase) ViewHistory ¶ added in v0.1.97
func (m MyHistoryDatabase) ViewHistory(category string) ([2]interface{}, error)
Click to show internal directories.
Click to hide internal directories.