app

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvReporter

type CsvReporter struct{}

func (*CsvReporter) Run

func (cr *CsvReporter) Run(options ReporterOption) error

type CsvReporterOption

type CsvReporterOption struct {
	InputFile  string
	OutputFile string
}

func (*CsvReporterOption) AddFlags

func (opt *CsvReporterOption) AddFlags(args []string) error

type Reporter

type Reporter interface {
	Run(options ReporterOption) error
}

type ReporterFactory

type ReporterFactory struct {
	Name string
}

func (*ReporterFactory) NewReporter

func (rf *ReporterFactory) NewReporter() (Reporter, error)

func (*ReporterFactory) NewReporterOption

func (rf *ReporterFactory) NewReporterOption() (ReporterOption, error)

type ReporterOption

type ReporterOption interface {
	AddFlags(args []string) error
}

Jump to

Keyboard shortcuts

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