Hello,
There is a fix for this issue [1]. "spew.Dump" output is often interrupted by other stdout. And you have to do something like fmt.Print(spew.Sdump(body)).
I do not see any drawback of this fix. If somebody wants to use os.Stdout, he/she can use "spew.Fdump"
Hello, There is a fix for this issue [1]. "spew.Dump" output is often interrupted by other stdout. And you have to do something like fmt.Print(spew.Sdump(body)).
I do not see any drawback of this fix. If somebody wants to use os.Stdout, he/she can use "spew.Fdump"
1 - https://github.com/davecgh/go-spew/issues/94