Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Find ¶
func Find[T Filterable](items []T, term string) []T
func FindOne ¶
func FindOne[T Filterable](items []T, term string) (res T, err error)
Types ¶
type Filterable ¶
type Filterable interface {
Keys() []string
}
Click to show internal directories.
Click to hide internal directories.