total_amount_db

package
v0.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyTotalAmountDB

type MyTotalAmountDB struct {
	*handler.Handler
}

func (MyTotalAmountDB) CalculateRemaining

func (h MyTotalAmountDB) CalculateRemaining(category string) error

func (MyTotalAmountDB) InsertTotalAmount

func (h MyTotalAmountDB) InsertTotalAmount(tv *entities.TotalAmountVariables) error

func (MyTotalAmountDB) InsertTotalAmountCategory

func (h MyTotalAmountDB) InsertTotalAmountCategory(tv *entities.TotalAmountVariables) error

func (MyTotalAmountDB) RemoveTotalAmount

func (h MyTotalAmountDB) RemoveTotalAmount(category string) error

func (MyTotalAmountDB) TotalAmountValues

func (h MyTotalAmountDB) TotalAmountValues() ([][2]string, [3]interface{}, error)

func (MyTotalAmountDB) UpdateSpentAndRemaining added in v0.1.117

func (h MyTotalAmountDB) UpdateSpentAndRemaining(spentAmount, remainingAmount int) error

func (MyTotalAmountDB) UpdateStatus

func (h MyTotalAmountDB) UpdateStatus(tv *entities.TotalAmountVariables) error

func (MyTotalAmountDB) UpdateTotalAmount

func (h MyTotalAmountDB) UpdateTotalAmount(tv *entities.TotalAmountVariables) error

func (MyTotalAmountDB) ViewTotalAmount

func (h MyTotalAmountDB) ViewTotalAmount() ([5]interface{}, error)

func (MyTotalAmountDB) ViewTotalAmountCategories

func (h MyTotalAmountDB) ViewTotalAmountCategories() (string, [][2]string, error)

Jump to

Keyboard shortcuts

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