filters

package
v0.0.0-...-45b4af7 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter func([]*cards.Card) []*cards.Card

func NewFilter

func NewFilter(filters ...SingleFilter) Filter

type SingleFilter

type SingleFilter func(*cards.Card) bool

func All

func All() SingleFilter

func And

func And(filters ...SingleFilter) SingleFilter

func HasCategory

func HasCategory(category string) SingleFilter

func OnlyCategoryIs

func OnlyCategoryIs(category string) SingleFilter

func Or

func Or(filters ...SingleFilter) SingleFilter

Jump to

Keyboard shortcuts

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