Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InStringSlice ¶
InStringSlice check if the `src` string in the slice
Types ¶
type Qualifiable ¶
type Qualifiable interface {
IsQualified(...interface{}) bool
}
Qualifiable is the interface that represents those things could be filtered according to some criteria.
IsQualified returns true if it satisfies all criteria, else return false.
func GetQualifiedItems ¶
func GetQualifiedItems(src []Qualifiable, criteria ...interface{}) (int, []Qualifiable)
GetQualifiedItems gets items which are qualified by qualifier from the item collection
Click to show internal directories.
Click to hide internal directories.