Documentation
¶
Overview ¶
Package pretty provides utilities for pretty-printing any value that can be marshalled to JSON.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStringer ¶
func NewStringer(a any) stringer
NewStringer creates a new stringer instance with the given value. The value will be converted to a string representation using JSON marshaling.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.