reporter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(r *Report)

func WithDirect

func WithDirect(direct bool) Option

func WithLicenses

func WithLicenses(licenses bool) Option

func WithStats

func WithStats(stats bool) Option

type Report

type Report struct {
	Ctx    context.Context
	Result *results.Result

	//optionals
	Direct   bool
	Stats    bool
	Licenses bool
}

func NewReport

func NewReport(ctx context.Context, opts ...Option) *Report

func (*Report) Report

func (r *Report) Report()

func (*Report) SetResult

func (r *Report) SetResult(result *results.Result)

Jump to

Keyboard shortcuts

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