add code grpc to manage new collection db groupMember
This commit is contained in:
@@ -6,3 +6,10 @@ type Group struct {
|
||||
Members []string `json:"members"`
|
||||
Data map[string]any `json:"data"`
|
||||
}
|
||||
|
||||
///////////////////code
|
||||
type GroupMember struct {
|
||||
ID string `json:"id" bson:"_id"`
|
||||
Groupid string `json:"grouid" bson:"_groupid"`
|
||||
Data map[string]any `json:"data"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user