Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByKind ¶
func ByKind(transactions []transactionhistory.Transaction, kinds []Kind) []transactionhistory.Transaction
ByKind filters transactions by the given list of kinds, returning only transactions that are that kind of transaction.
func ByWeekday ¶
func ByWeekday(transactions []transactionhistory.Transaction, weekdays []time.Weekday) []transactionhistory.Transaction
ByWeekday filters transactions by the given weekday, returning only transactions that occurred on that weekday.
Types ¶
Click to show internal directories.
Click to hide internal directories.