text

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Presenter

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

Presenter is a human-friendly text presenter to represent package and source data.

func NewPresenter

func NewPresenter(catalog *pkg.Catalog, srcMetadata source.Metadata) *Presenter

NewPresenter creates a new presenter for the given set of catalog and image data.

func (*Presenter) Present

func (pres *Presenter) Present(output io.Writer) error

Present is a method that is in charge of writing to an output buffer

Jump to

Keyboard shortcuts

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