features suggestions
Opened this issue · 1 comments
mpup371 commented
hi,
I started to use this nice lib.
It would be nice to have a function :
func (pp *PrettyPrinter) SetMaxDepth(depth int) {
pp.maxDepth = depth
}
so that we can build different printers with different depths.
It would be nice too to have an option to force the representation of some kinds of variables, like force []byte to string.
or even time.Time to string instead of going deeper ?
cheers
jf