This commit is contained in:
wangchuxiao
2023-02-07 18:43:43 +08:00
parent 795a90a194
commit f4baf847ca
6 changed files with 59 additions and 7 deletions
@@ -1,5 +1,7 @@
package unrelation
import "go.mongodb.org/mongo-driver/mongo"
const (
CSuperGroup = "super_group"
CUserToSuperGroup = "user_to_super_group"
@@ -24,4 +26,5 @@ func (UserToSuperGroupModel) TableName() string {
}
type SuperGroupModelInterface interface {
CreateSuperGroup(sCtx mongo.SessionContext, groupID string, initMemberIDs []string) error
}