fakes

package
v0.0.0-...-ee2a6a4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeUi

type FakeUi struct {
	Output string

	Msg  string
	Args []interface{}

	PrintfRc  int
	PrintfErr error

	PrintlnRc  int
	PrintlnErr error

	ScanlnRc  int
	ScanlnErr error
	UserInput string
}

func NewFakeUi

func NewFakeUi() *FakeUi

func (*FakeUi) NewTableWriter

func (fakeUi *FakeUi) NewTableWriter() *tablewriter.Table

func (*FakeUi) PrintTable

func (fakeUi *FakeUi) PrintTable(table *tablewriter.Table) (int, error)

func (*FakeUi) Printf

func (fakeUi *FakeUi) Printf(msg string, args ...interface{}) (int, error)

func (*FakeUi) PrintfInfo

func (fakeUi *FakeUi) PrintfInfo(msg string, args ...interface{}) (int, error)

func (*FakeUi) Println

func (fakeUi *FakeUi) Println(args ...interface{}) (int, error)

func (*FakeUi) PrintlnInfo

func (fakeUi *FakeUi) PrintlnInfo(args ...interface{}) (int, error)

func (*FakeUi) Scanln

func (fakeUi *FakeUi) Scanln(args ...interface{}) (int, error)

Jump to

Keyboard shortcuts

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