actions

package
v0.0.0-...-aebc6d4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action = func(writer io.Writer) error

type Alias

type Alias interface {
	Match(str string) (bool, []any, error)
	Action(values ...any) Action
	String() string
}

type Aliases

type Aliases struct {
	// contains filtered or unexported fields
}

func (*Aliases) AddAlias

func (a *Aliases) AddAlias(alias Alias)

func (*Aliases) Check

func (a *Aliases) Check(str string) (Action, error)

func (*Aliases) Len

func (a *Aliases) Len() int

func (*Aliases) List

func (a *Aliases) List() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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