printers

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Table

func Table(tableConfig []PrintTableConfig, data []byte, out io.Writer) error

Table will render given data to the given io.writer

Types

type PrintTableConfig

type PrintTableConfig struct {
	Key    string
	Header string
}

PrintTableConfig defines the headers value

Jump to

Keyboard shortcuts

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