diff --git a/settings/settings.go b/settings/settings.go index fd1bfca..f704464 100644 --- a/settings/settings.go +++ b/settings/settings.go @@ -56,7 +56,7 @@ func Create() error { Enabled: false, RetrievementPath: "", }, - CreateBlackBGImage: creatingBG{ + CreateBlackBGImage: backgroundCreatement{ Enabled: true, Width: 1920, Height: 1080, diff --git a/settings/structure.go b/settings/structure.go index df50a07..8e98a48 100644 --- a/settings/structure.go +++ b/settings/structure.go @@ -14,7 +14,7 @@ type backgroundRetrievement struct { RetrievementPath string `json:"retrievementPath"` } -type creatingBG struct { +type backgroundCreatement struct { Enabled bool `json:"enabled"` Width uint `json:"width"` Height uint `json:"height"` @@ -25,6 +25,6 @@ type Settings struct { OsuDir string `json:"pathToOsu"` BackgroundReplacement backgroundReplacement `json:"backgroundReplacement"` BackgroundRetrievement backgroundRetrievement `json:"backgroundRetrievement"` - CreateBlackBGImage creatingBG `json:"createBlackBackgoundImage"` + CreateBlackBGImage backgroundCreatement `json:"blackBackgroundCreatement"` Workers int `json:"workers"` }