Documentation ¶ Index ¶ func Print(data interface{}, writer io.Writer) 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. Source Files ¶ View all Source files print.go Click to show internal directories. Click to hide internal directories.