# struct use MarshalIndent dataByte, err := json.MarshalIndent(v, "", " ") # str json use gjson @pretty gjson.Get(task.Config, "@pretty").String()
上一篇:苹果11单卡还是双卡双待(iPhone11是否支持双卡)
下一篇:go语言入门之接口(附泛型详解)