test-errcode
parent
26b5ed72df
commit
dab552aed4
@ -0,0 +1,13 @@
|
||||
package utilsv2
|
||||
|
||||
import "Open_IM/pkg/common/db/table"
|
||||
|
||||
func demo() {
|
||||
|
||||
groups := []*table.GroupModel{}
|
||||
|
||||
groups = DuplicateRemovalAny(groups, func(t *table.GroupModel) string {
|
||||
return t.GroupID
|
||||
})
|
||||
|
||||
}
|
Loading…
Reference in new issue