Merge branch 'tuoyun' of github.com:OpenIMSDK/Open-IM-Server into tuoyun

pull/218/head
wangchuxiao 3 years ago
commit 7842545627

@ -1 +1 @@
Subproject commit 2257ac8ee528fb1e0038f85e34c8770fbe4758e3
Subproject commit 9d67999cec3e4a9792c33a95e5514a945df54052

@ -39,6 +39,8 @@ func cleanUpFuncName(funcName string) string {
}
return funcName[end+1:]
}
//Get the intersection of two slices
func Intersect(slice1, slice2 []uint32) []uint32 {
m := make(map[uint32]bool)
n := make([]uint32, 0)
@ -53,6 +55,8 @@ func Intersect(slice1, slice2 []uint32) []uint32 {
}
return n
}
//Get the diff of two slices
func Difference(slice1, slice2 []uint32) []uint32 {
m := make(map[uint32]bool)
n := make([]uint32, 0)

Loading…
Cancel
Save