code to create and delete groupMmber collection in DB

This commit is contained in:
soukainna
2023-01-17 15:07:16 +01:00
parent 57540f2587
commit 312200e210
11 changed files with 350 additions and 154 deletions

View File

@@ -9,7 +9,8 @@ type Group struct {
///////////////////code
type GroupMember struct {
ID string `json:"id" bson:"_id"`
Groupid string `json:"grouid" bson:"_groupid"`
Data map[string]any `json:"data"`
ID string `json:"id" bson:"_id"`
Memberid string `json:"memberid"`
Groupid string `json:"grouid"`
Data map[string]any `json:"data"`
}