Commit 9b7ba6fd authored by remiliacn's avatar remiliacn

Enhancement: Add indent to the config.go

parent 7e4d55e4
...@@ -99,7 +99,7 @@ func Load(p string) *JsonConfig { ...@@ -99,7 +99,7 @@ func Load(p string) *JsonConfig {
} }
func (c *JsonConfig) Save(p string) error { func (c *JsonConfig) Save(p string) error {
data, err := json.Marshal(c) data, err := json.MarshalIndent(c, "", "\t")
if err != nil { if err != nil {
return err return err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment