plugin

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BinPattern = regexp.MustCompile(`^([\w\-]+2[\w\-]+)|(ux-[\w\-]+)$`)
)

Functions

func ForGenerator added in v0.0.9

func ForGenerator(g ux.Generator) ux.Plugin

func Parse added in v0.0.5

func Parse(name string, parser Parser) (ux.Plugin, error)

Types

type Parser added in v0.0.9

type Parser interface {
	Parse(string) (ux.Plugin, error)
}

type Registry

type Registry interface {
	Sources() iter.Seq[Source]
}

type Selector added in v0.0.9

type Selector interface {
	Select(iter.Seq[ux.Plugin]) (ux.Plugin, error)
}

type Source added in v0.0.9

type Source interface {
	Load(context.Context) (ux.Plugin, error)
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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