s3 complete

This commit is contained in:
withchao
2023-03-06 16:40:57 +08:00
parent a2674bfe9f
commit 3ea0d1f765
10 changed files with 172 additions and 47 deletions
+9
View File
@@ -1,5 +1,10 @@
package relation
import (
"OpenIM/pkg/utils"
"gorm.io/gorm"
)
type BatchUpdateGroupMember struct {
GroupID string
UserID string
@@ -10,3 +15,7 @@ type GroupSimpleUserID struct {
Hash uint64
MemberNum uint32
}
func IsNotFound(err error) bool {
return utils.Unwrap(err) == gorm.ErrRecordNotFound
}