code to create and delete groupMmber collection in DB
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user