Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrettyWriter ¶
type PrettyWriter struct {
// contains filtered or unexported fields
}
func NewPrettyWriter ¶
func NewPrettyWriter(w io.Writer, indent string) *PrettyWriter
func (*PrettyWriter) Write ¶
func (pw *PrettyWriter) Write(p string)
Write writes len(p) bytes from p to the underlying accumulated buffer.
func (*PrettyWriter) WriteIndent ¶
func (pw *PrettyWriter) WriteIndent(indent uint32)
Write writes len(p) bytes from p to the underlying accumulated buffer.
Click to show internal directories.
Click to hide internal directories.