presenter

package
v0.0.0-...-e0139c2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Option

type Option int
const (
	UnknownPresenter Option = iota
	CSVPresenter
	JSONPresenter
	TextPresenter
)

func ParseOption

func ParseOption(userStr string) Option

func (Option) String

func (o Option) String() string

type Presenter

type Presenter interface {
	Present(io.Writer) error
}

func GetPresenter

func GetPresenter(option Option, results <-chan chklicenses.LicenseResult) Presenter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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