mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
23 lines
687 B
Go
23 lines
687 B
Go
package modrinth
|
|
|
|
type Pack struct {
|
|
FormatVersion uint32 `json:"formatVersion"`
|
|
Game string `json:"game"`
|
|
VersionID string `json:"versionId"`
|
|
Name string `json:"name"`
|
|
Summary string `json:"summary,omitempty"`
|
|
Files []PackFile `json:"files"`
|
|
Dependencies map[string]string `json:"dependencies"`
|
|
}
|
|
|
|
type PackFile struct {
|
|
Path string `json:"path"`
|
|
Hashes map[string]string `json:"hashes"`
|
|
Env *struct {
|
|
Client string `json:"client"`
|
|
Server string `json:"server"`
|
|
} `json:"env"`
|
|
Downloads []string `json:"downloads"`
|
|
FileSize uint32 `json:"fileSize"`
|
|
}
|