param

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Cache    bool
	Operator core.Operator
}

func NewCheck

func NewCheck(operator core.Operator) *Check

type Collect

type Collect struct {
	Stream string
	Max    int
	Trim   *Trim
}

func NewCollect

func NewCollect() *Collect

func (*Collect) Process

func (c *Collect) Process(line string) (final string)

type Command

type Command struct {
	Context     context.Context
	Name        string
	Arguments   *args.Arguments
	Directory   string
	Environment *Environment

	Async   bool
	Pwe     bool
	Echo    bool
	Stdin   io.Reader
	Charset string

	Logics     []*core.Logic
	Collectors map[string]core.Collector
	Notifiers  []core.Notifier
	Counters   []core.Counter
}

func NewCommand

func NewCommand(name string) *Command

func (*Command) Check

func (c *Command) Check(line string) (checked bool, err error)

type Environment

type Environment struct {
	Environments []string
	System       bool
}

func NewEnvironment

func NewEnvironment() *Environment

type Line

type Line struct {
	Stream string
	Total  *int
}

func NewLine

func NewLine(total *int) *Line

type Trim

type Trim struct {
	Left  string
	Right string
	All   string
	Space bool
}

func NewTrim

func NewTrim() *Trim

func (*Trim) Process

func (t *Trim) Process(line string) (final string)

Jump to

Keyboard shortcuts

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