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 package skirdaobjects
import "skirdaGoLauncher/games/localgame"
type SkirdaDomainApi struct { type SkirdaDomainApi struct {
SkirdaDomainId string `json:"skirdaDomainId"` SkirdaDomainId string `json:"skirdaDomainId"`
Games []SkirdaGameApi `json:"games"` Games []localgame.LocalSkirdaGame2 `json:"games"`
Events []SkirdaEventApi `json:"events"` Events []SkirdaEventApi `json:"events"`
} }

View File

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