pretty

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrettyFn

type PrettyFn func(indent uint32, w *PrettyWriter, p unsafe.Pointer)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL