application

package
v0.0.0-...-66ab54c Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deposits

type Deposits struct {
	YearDay  int     `bson:"year_day"`
	Deposits float64 `bson:"deposits"`
}

func (*Deposits) Average

func (d *Deposits) Average() float64

func (*Deposits) Update

func (d *Deposits) Update(up struct {
	YearDayNow int
	NewDeposit float64
})

type Perfil

type Perfil struct {
	Registers struct {
		Entries []struct {
			Week  float64 `bson:"week"`
			Money float64 `bson:"money"`
		} `bson:"entries"`
	} `bson:"registers"`
	Wallets struct {
		Cash     float64           `bson:"cash"`
		Banking  float64           `bson:"banking"`
		Average  float64           `bson:"average"`
		Expenses expenses.Expenses `bson:"expenses"`
	} `bson:"wallets"`
}

func (*Perfil) Budgets

func (p *Perfil) Budgets() (Bdgt float64)

type Shoppings

type Shoppings struct {
	Description string
	Precing     float64
	Interes     float64
	Date        struct {
		Mount int
		Year  int
	}
	Mensualy int
	Spent    float64
}

type Suscriptions

type Suscriptions struct{}

type Wallet

type Wallet struct {
	Cash    float64
	Bank    float64
	Savings float64
}

func (*Wallet) BudgetsDays

func (w *Wallet) BudgetsDays(d Deposits) float64

func (*Wallet) Total

func (w *Wallet) Total() float64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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