ui

package
v0.0.0-...-211a43e Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2017 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileResolver

type FileResolver interface {
	Resolve(string) (string, error)
}

type Outputter

type Outputter interface {
	Output(io.Writer, string) error
}

type PrettyOutputter

type PrettyOutputter struct {
	NoImages bool
	// contains filtered or unexported fields
}

func NewPrettyOutputter

func NewPrettyOutputter(f FileResolver) *PrettyOutputter

func (*PrettyOutputter) Output

func (p *PrettyOutputter) Output(w io.Writer, readme string) error

type RawOutputter

type RawOutputter struct{}

func (RawOutputter) Output

func (RawOutputter) Output(w io.Writer, readme string) error

type WriteFn

type WriteFn func(io.Writer, string, ...interface{})

Jump to

Keyboard shortcuts

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