vipally / go

The Go programming language
https://golang.org
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

fmt: add flag "@" to format a verb "v" value with pretty style(indented-multi-lines) string #7

Closed vipally closed 6 years ago

vipally commented 6 years ago

fmt: add flag "@" to format a verb "v" value with pretty style(indented-multi-lines) string #2 Current custom go data printing style "%#v" show all data in a single line, which is not easy to read, especiall in a debugging process. I have made a patch to use "%@#v" "%@+v" to format a value with pretty style(indented-multi-lines) string to extends "%#v" "%+v".