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 Difference ¶
Difference Find out the elements in s1 and not in s2
func RemoveDuplicateWithInt ¶
RemoveDuplicateWithInt Remove duplicate values
func RemoveDuplicateWithString ¶
RemoveDuplicateWithString Remove duplicate values
func RemoveWithInt ¶
RemoveWithInt Delete the specified value in the array
func RemoveWithString ¶
RemoveWithString Delete the specified value in the array
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.