prettyprint

package
Version: v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Obj      interface{}
	Format   Format
	Writer   io.Writer
	Template string
}

func (*Content) Print

func (pp *Content) Print() error

type Format

type Format string
const JSONFormat Format = "json"
const (
	JSONPathFormat Format = "jsonpath"
)
const (
	StringFormat Format = "string"
)
const TemplateFormat Format = "tpl"

Jump to

Keyboard shortcuts

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