1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-07-09 07:28:33 +00:00

Merge pull request #33 from remiliacn/master

Enhancement: Add indent to the config.go
This commit is contained in:
Mrs4s
2020-08-05 09:37:42 +08:00
committed by GitHub

View File

@ -99,7 +99,7 @@ func Load(p string) *JsonConfig {
}
func (c *JsonConfig) Save(p string) error {
data, err := json.Marshal(c)
data, err := json.MarshalIndent(c, "", "\t")
if err != nil {
return err
}