printer

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package printer provides selection of output formats based on type information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(data interface{}, writer io.Writer)

Print arbitrates between printable types. If the passed argument is of type *console.Table, we print the table. If the passed argument is of any other type, we encode it as json.

Types

This section is empty.

Jump to

Keyboard shortcuts

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