reports

package
v0.0.0-...-0ad7c06 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountToLua

func AccountToLua(L *lua.LState, account *models.Account) *lua.LUserData

func BalanceToLua

func BalanceToLua(L *lua.LState, balance *Balance) *lua.LUserData

func PriceToLua

func PriceToLua(L *lua.LState, price *models.Price) *lua.LUserData

func RunReport

func RunReport(tx store.Tx, user *models.User, report *models.Report) (*models.Tabulation, error)

func SecurityToLua

func SecurityToLua(L *lua.LState, security *models.Security) *lua.LUserData

func TimeToLua

func TimeToLua(L *lua.LState, date *time.Time) *lua.LUserData

Types

type Balance

type Balance struct {
	Security *models.Security
	Amount   models.Amount
}

Jump to

Keyboard shortcuts

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