debug

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompactSpaces

func CompactSpaces(ok bool) func(*Printer)

func TrimEmptyAttr

func TrimEmptyAttr(ok bool) func(*Printer)

Types

type Printer

type Printer struct {
	CompactSpaces bool
	TrimEmptyAttr bool
}

func NewPrinter

func NewPrinter(opts ...func(*Printer)) *Printer

func (Printer) Print

func (p Printer) Print(top *html.Node)

Jump to

Keyboard shortcuts

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