Documentation ¶
Index ¶
- func Difference(s1, s2 []int) []int
- func InArray(val interface{}, array interface{}) (exists bool, index int)
- func Intersect(slice1 []int, slice2 []int) []int
- func RemoveDuplicateWithInt(arr []int) []int
- func RemoveDuplicateWithString(arr []string) []string
- func RemoveWithInt(arr []int, in int) []int
- func RemoveWithString(arr []string, in string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveDuplicateWithString ¶
Remove duplicate values
func RemoveWithInt ¶
Delete the specified value in the array
func RemoveWithString ¶
Delete the specified value in the array
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.