repository

package
v0.0.0-...-dc76cc8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSavingTransactions

func AddSavingTransactions(bocPaymentID string, name string, amount float64)

func AddTransactions

func AddTransactions(name string, amount float64)

func GetEarned

func GetEarned() float64

func GetSavingSum

func GetSavingSum() float64

func GetTransactions

func GetTransactions() map[string]Transaction

func GetTransactionsFromSaveAcc

func GetTransactionsFromSaveAcc() map[string]Transaction

Types

type PType

type PType string

type Transaction

type Transaction struct {
	Name         string
	Ptype        PType
	Amount       float64
	BocPaymentID string
}

Jump to

Keyboard shortcuts

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