mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
util: use marshal instead of marshal indent
This commit is contained in:
parent
0a08cc21df
commit
4345cef8d7
|
@ -6,7 +6,7 @@ import (
|
|||
)
|
||||
|
||||
func WriteJsonFile(p string, obj interface{}) error {
|
||||
out, err := json.MarshalIndent(obj, "", " ")
|
||||
out, err := json.Marshal(obj)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user