You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
350 B
22 lines
350 B
package relation
|
|
|
|
import (
|
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/utils"
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type BatchUpdateGroupMember struct {
|
|
GroupID string
|
|
UserID string
|
|
Map map[string]any
|
|
}
|
|
|
|
type GroupSimpleUserID struct {
|
|
Hash uint64
|
|
MemberNum uint32
|
|
}
|
|
|
|
func IsNotFound(err error) bool {
|
|
return utils.Unwrap(err) == gorm.ErrRecordNotFound
|
|
}
|