16 lines
410 B
Go
16 lines
410 B
Go
package storage
|
|
|
|
type Group struct {
|
|
ID string `json:"id" bson:"_id"`
|
|
Namespace string `json:"namespace"`
|
|
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"`
|
|
}
|