options

package
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// Structured fields.
	Fields fields.Fields

	// Flags define behaviors.
	Flag flag.Flag

	// OutputsNames are the names of the outputs to be used.
	OutputsNames []string

	// ProcessorsNames are the names of the processors to be used.
	ProcessorsNames []string

	// Tags are indicators consumed by `Output`s and `Processor`s.
	Tags []string
}

Options extends printer's capabilities.

Note: Changes in the `Message` or `Options` data structure may trigger changes in the `New`, `Copy` (from `Message`), `mergeOptions` (from `Sypl`), or `New` methods.

func New added in v1.4.0

func New() *Options

New is the `Options` factory.

Note: Changes in the `Message` or `Options` data structure may reflects here.

Jump to

Keyboard shortcuts

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