output

package
v0.0.0-...-1502654 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

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

Printer is a container for io.Writer with formatted output.

func CreatePrinter

func CreatePrinter(w io.Writer) (*Printer, error)

CreatePrinter will create a new printer object with the set writer

func (*Printer) Print

func (p *Printer) Print(format string, users []types.Users) error

Print takes all the users and print them out desired format

Jump to

Keyboard shortcuts

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