change structs

This commit is contained in:
cyber-dream 2023-04-04 01:51:45 +03:00
parent 589fcf0579
commit b99ca4621a
2 changed files with 10 additions and 8 deletions

View File

@ -1,7 +1,9 @@
package skirdaobjects
import "skirdaGoLauncher/games/localgame"
type SkirdaDomainApi struct {
SkirdaDomainId string `json:"skirdaDomainId"`
Games []SkirdaGameApi `json:"games"`
Events []SkirdaEventApi `json:"events"`
SkirdaDomainId string `json:"skirdaDomainId"`
Games []localgame.LocalSkirdaGame2 `json:"games"`
Events []SkirdaEventApi `json:"events"`
}

View File

@ -1,7 +1,7 @@
package skirdaobjects
type SkirdaGameApi struct {
SkirdaGameId string `json:"skirdagame_id"`
Title string `json:"title"`
Type string `json:"type"`
}
// type SkirdaGameApi struct {
// SkirdaGameId string `json:"skirdagame_id"`
// Title string `json:"title"`
// Type string `json:"type"`
// }