formatter

package
v0.0.0-...-4d03347 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Filter(in []byte) ([]byte, error)
}

Formatter can filter incoming bytes and potentially format them with indentation and regular style.

func NewFormatter

func NewFormatter() Formatter

NewFormatter returns a base Formatter that can handle at least xml and json.

Jump to

Keyboard shortcuts

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