Documentation ¶
Index ¶
- func Contains(src []interface{}, test interface{}) bool
- func ContainsDeep(src []interface{}, test interface{}) bool
- func ConvertAny2Interface(src interface{}) ([]interface{}, error)
- func IndexOf(element string, data []string) int
- func IndexOfAny(target interface{}, anySlice interface{}) (int, error)
- func InterfaceSlice2StringSlice(strSlice []interface{}) []string
- func IsEmpty(src interface{}) bool
- func StringContains(src []string, test string) bool
- func StringFilter(src []string, fn func(item string) bool) []string
- func StringSlice2InterfaceSlice(strSlice []string) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsDeep ¶ added in v0.2.2
func ContainsDeep(src []interface{}, test interface{}) bool
func ConvertAny2Interface ¶ added in v0.2.3
func ConvertAny2Interface(src interface{}) ([]interface{}, error)
func IndexOfAny ¶ added in v0.1.9
func InterfaceSlice2StringSlice ¶
func InterfaceSlice2StringSlice(strSlice []interface{}) []string
func StringContains ¶
func StringFilter ¶ added in v0.5.7
func StringSlice2InterfaceSlice ¶
func StringSlice2InterfaceSlice(strSlice []string) []interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.