dbmanager

package
v0.0.0-...-dec528e Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(statement string) error

func ExecuteScalar

func ExecuteScalar(statement string) (string, error)

func GetBalance

func GetBalance(chatID int64) (string, error)

func GetList

func GetList(chatID int64, forDate string) (string, error)

func InitDB

func InitDB()

func Register

func Register(chatID int64, balance float32)

func SetExpense

func SetExpense(chatID int64, amount float64, comment string) (string, error)

func SetIncome

func SetIncome(chatID int64, amount float64, comment string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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