Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Group ¶
func Group(group GroupCompare, input interface{}) (bool, error)
checks a GroupCompare to see if the input matches the criteria
func MultipleGroups ¶
func MultipleGroups(groups []GroupCompare, input interface{}) ([]string, error)
Checks if the input matches any groupings of criteria returns the matched group names
if Criteria is the same for most of the Groups, it could be optimized by comaparing the unique criteria then finding which ones implement all the criteria