dongicore

package
v0.0.0-...-418229d Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DongiCore

type DongiCore struct {
	// contains filtered or unexported fields
}

func NewDongiCore

func NewDongiCore(dbHandler *database.DBHandler) (*DongiCore, error)

func (*DongiCore) AddDong

func (core *DongiCore) AddDong(dong *database.Dong) error

func (*DongiCore) AddDongUser

func (core *DongiCore) AddDongUser(dongUser *database.DongUser) error

func (*DongiCore) AddTransaction

func (core *DongiCore) AddTransaction(transaction *database.Transaction) error

func (*DongiCore) AddUser

func (core *DongiCore) AddUser(user *database.User) error

func (*DongiCore) DeleteDong

func (core *DongiCore) DeleteDong()

func (*DongiCore) DeleteTransaction

func (core *DongiCore) DeleteTransaction()

func (*DongiCore) DeleteUser

func (core *DongiCore) DeleteUser()

func (*DongiCore) GenerateInvoce

func (core *DongiCore) GenerateInvoce(dongID uint) (map[uint]float64, error)

func (*DongiCore) UpdateDong

func (core *DongiCore) UpdateDong()

func (*DongiCore) UpdateTransaction

func (core *DongiCore) UpdateTransaction()

func (*DongiCore) UpdateUser

func (core *DongiCore) UpdateUser()

Jump to

Keyboard shortcuts

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