Discover Packages
github.com/leiweibau/fritzctl
cmd
printer
package
Version:
v1.4.22
Opens a new window with list of versions in this module.
Published: May 12, 2018
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 Source Files Index Constants Variables Functions Types Print(data, writer)
Documentation
¶
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.