Compare commits

..

3 Commits

Author SHA1 Message Date
f44e6b104b Merge remote-tracking branch 'origin/main'
# Conflicts:
#	domain/structures.go
2023-02-12 23:35:06 +03:00
1cb34f3e6c rename fields and comment 2023-02-12 22:09:55 +03:00
ebeb05cd1a delete commented 2023-02-12 22:09:55 +03:00

View File

@ -22,9 +22,9 @@ func (jv *JavaVersion) FindOs(os string, arch string) *JavaVersionSpecifics {
} }
type VersionNums struct { type VersionNums struct {
Major string `json:"major"` Major int `json:"major"`
Minor string `json:"minor"` Minor int `json:"minor"`
Patch string `json:"patch"` Patch int `json:"patch"`
} }
type Version struct { type Version struct {
@ -122,4 +122,9 @@ type ModArtifact struct {
} }
type VersionMeta struct { type VersionMeta struct {
ID string `json:"id"`
Type string `json:"type"`
URL string `json:"url"`
Installed bool
} }