Browse Source
Pretty-print default settings json
feature/update-route-registration
Fabian Vowie
3 years ago
No known key found for this signature in database
GPG Key ID: C27317C33B27C410
1 changed files with
1 additions and
1 deletions
-
settings/settings.go
|
|
@ -52,7 +52,7 @@ func LoadSettings() Settings { |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
serializedSettings, err := json.Marshal(defaultSettings) |
|
|
|
serializedSettings, err := json.MarshalIndent(defaultSettings, "", "\t") |
|
|
|
os.WriteFile(path, serializedSettings, os.ModePerm) |
|
|
|
|
|
|
|
return defaultSettings |
|
|
|