sharedutils/games/minecraftgame/structures.go

18 lines
344 B
Go
Raw Normal View History

2023-02-11 23:15:55 +00:00
package minecraftgame
type JavaVersion struct {
Version `json:"version"`
Specifics []struct {
Os string `json:"os"`
Arch string `json:"arch"`
URL string `json:"URL"`
Sha1 string `json:"SHA1"`
} `json:"specifics"`
}
type Version struct {
Major string `json:"major"`
Minor string `json:"minor"`
Patch string `json:"patch"`
}