mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-30 22:42:29 +08:00
14 lines
203 B
Go
14 lines
203 B
Go
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
|
|
})
|
|
|
|
}
|