add userDomain type and field in domain
This commit is contained in:
parent
2f451f2be4
commit
b397940fef
@ -7,11 +7,17 @@ import (
|
||||
type SkirdaDomain struct {
|
||||
DomainId string `json:"domainId"`
|
||||
//SkirdaGames `json:"games"`
|
||||
Users []SkirdaDomainUser
|
||||
Games []string `json:"games"`
|
||||
Events []string `json:"events"`
|
||||
// skirdasession.SkirdaSessions
|
||||
}
|
||||
|
||||
type SkirdaDomainUser struct {
|
||||
SkirdaUserId string
|
||||
Role string
|
||||
}
|
||||
|
||||
//func (domain SkirdaDomain) BuildDomain(newGames []SkirdaGame, newSessions []SkirdaSession) {
|
||||
// domain.AddGames(newGames)
|
||||
// // domain.AddSessions(newSessions)
|
||||
|
Loading…
Reference in New Issue
Block a user