outputjson

package
v0.0.0-...-1bf7cb7 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 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 JSONMode

type JSONMode struct{}

JSONMode pretty-prints the JSON output.

func (*JSONMode) AddFlags

func (m *JSONMode) AddFlags(flags *pflag.FlagSet)

AddFlags adds JSON-specific flags.

func (*JSONMode) New

func (m *JSONMode) New(ctx context.Context, w io.Writer) (io.Writer, error)

New returns a new output processor.

Jump to

Keyboard shortcuts

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