util

package
v0.0.0-...-a3ada0b Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateTransactionsSum

func CalculateTransactionsSum(transactions []storage.Transaction) float64

Calculate transactions sum of transactions slice

func CategoryIsValid

func CategoryIsValid(category string, kind string) bool

Check if category is valid

func CreateTransactionHistory

func CreateTransactionHistory(transactions []storage.Transaction) string

Create formatted transactions list of transactions slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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