processor

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	Stderr io.Writer // The writer on which users are prompted.
	Stdin  io.Reader // The reader from which user input is read.
	IsTTY  bool      // Whether Stderr is a terminal.

	LeftDelim  string   // Left delimiter e.g., "{{".
	RightDelim string   // Right delimiter e.g., "}}".
	Exclusions []string // Directories and files to exclude.

	Language *language.Tag // The language used in some functions.

	Log     *log.Logger // Optional logger for pertinent information.
	Verbose bool        // Whether to log verbose information.
	// contains filtered or unexported fields
}

func (*Processor) Execute

func (p *Processor) Execute(root string, params map[string]string) error

func (*Processor) Initialize

func (p *Processor) Initialize()

Jump to

Keyboard shortcuts

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