Discover Packages
github.com/gotohr/fritzctl
cmd
printer
package
Version:
v0.0.0-...-798cd6d
Opens a new window with list of versions in this module.
Published: Sep 13, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package printer provides selection of output formats based on type information.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.