Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasAllElements ¶
func HasAllElements(arr1 []interface{}, arr2 []interface{}) bool
HasAllElements returns true if the array arr1 contains all elements of array arr2
func InArray ¶
func InArray(elem interface{}, arr []interface{}) bool
InArray returns true if the elem is in the array arr
func IsSameStringArray ¶
IsSameStringArray returns true if arr1 and arr2 has exactly same elements without order care
func StringArrayToInterfacArray ¶
func StringArrayToInterfacArray(arr []string) []interface{}
StringArrayToInterfacArray converts []string to []interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.