output

package
v0.0.0-...-f56c99c Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kong

type Kong struct {
	Format string `help:"Output format (${enum})" enum:"json,yaml,csv,table" default:"table"`
}

Kong for embedding in kong structs

type Printer

type Printer interface {
	Print(w io.Writer) error
}

func New

func New(format string, data interface{}, fields []string) (Printer, error)

Jump to

Keyboard shortcuts

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