output

package
v0.0.0-...-f64df6f Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(p Printable)

Print sends a message to stdout with the format set in the command line

Types

type Printable

type Printable interface {
	// Headers are the headers to the default output format
	Headers() []string
	// Row is an array of strings to match to the headers
	Rows() [][]string
	JSON() []byte
}

Printable is any object that can be printed to the command line

Jump to

Keyboard shortcuts

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