change skirdaDomain

This commit is contained in:
cyber-dream 2023-03-11 20:24:24 +03:00
parent b397940fef
commit 528846c002

View File

@ -5,17 +5,15 @@ import (
)
type SkirdaDomain struct {
DomainId string `json:"domainId"`
//SkirdaGames `json:"games"`
Users []SkirdaDomainUser
Games []string `json:"games"`
Events []string `json:"events"`
// skirdasession.SkirdaSessions
DomainId string `json:"domainId"`
Users []SkirdaDomainUser `json:"users"`
Games []string `json:"games"`
Events []string `json:"events"`
}
type SkirdaDomainUser struct {
SkirdaUserId string
Role string
SkirdaUserId string `json:"skirdauserid"`
RolesId []string `json:"rolesid"`
}
//func (domain SkirdaDomain) BuildDomain(newGames []SkirdaGame, newSessions []SkirdaSession) {