Documentation ¶
Index ¶
- func DeleteString(strList []string, delStr string) []string
- func DifferenceStr1(slice1, slice2 []string) []string
- func DifferenceStr2(slice1 []string, slice2 []string) []string
- func In(strList []string, target string) bool
- func IntersectStr(slice1, slice2 []string) []string
- func RemoveDuplicateInt(languages []int) []int
- func RemoveDuplicateString(languages []string) []string
- func RemoveRepeatedElement(slice interface{}) []interface{}
- func ReverseStr(arr []string) []string
- func SplitList(arr []string, num int64) [][]string
- func UnionStr(slice1, slice2 []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteString ¶
DeleteString 删除列表中的字串
func DifferenceStr2 ¶
DifferenceStr2 求差集
func RemoveDuplicateInt ¶
func RemoveDuplicateString ¶
func RemoveRepeatedElement ¶
func RemoveRepeatedElement(slice interface{}) []interface{}
RemoveRepeatedElement 移除数组中重复的元素
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.