sharedutils/games/minecraftgame/structures.go

18 lines
344 B
Go

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"`
}