output

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAutoMergeCells

func WithAutoMergeCells() outputOptions

WithAutoMergeCells ...

Types

type OutputManager

type OutputManager interface {
	SetHeader([]string)
	Put(interface{}) error
	Flush()
}

OutputManager controls how results of an evaluation will be recorded and reported to the end user

func NewOutputManager

func NewOutputManager(format string, out io.Writer, opts ...outputOptions) (OutputManager, error)

NewOutputManager ...

type TableOutputManager

type TableOutputManager struct {
	// contains filtered or unexported fields
}

TableOutputManager ...

func (*TableOutputManager) Flush

func (mgr *TableOutputManager) Flush()

Flush ...

func (*TableOutputManager) Put

func (mgr *TableOutputManager) Put(input interface{}) error

Put ...

func (*TableOutputManager) SetHeader

func (mgr *TableOutputManager) SetHeader(header []string)

SetHeader ...

Jump to

Keyboard shortcuts

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