2023-03-06 16:40:57 +08:00

22 lines
321 B
Go

package relation
import (
"OpenIM/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
}