Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncChecker ¶
type FuncChecker func(value interface{}) bool
FuncChecker checks presence of value
type InSet ¶
type InSet interface {
Contains(value interface{}) bool
}
InSet checks presence of value
func NewFunc ¶
func NewFunc(f FuncChecker) InSet
NewFunc instantiates InSet, functions is used for checking
type InStrings ¶
InStrings checks existing value in set of strings
func NewInStrings ¶
NewInStrings instantiates InStrings based on InSet
func NewInStringsFromArray ¶
NewInStringsFromArray instantiates InStrings based on []string
type InStringsStructs ¶
func (InStringsStructs) Contains ¶
func (is InStringsStructs) Contains(value string) bool
Click to show internal directories.
Click to hide internal directories.