open

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inject

func Inject[T target.Portal](deps Deps[T]) target.Dispatch

func NewFeat

func NewFeat[T target.Portal](
	find target.Find[T],
	run target.Run[T],
) target.Dispatch

Types

type Deps

type Deps[T target.Portal] interface {
	TargetFind() target.Find[T]
	TargetRun() target.Run[T]
}

type Feat

type Feat[T target.Portal] struct {
	// contains filtered or unexported fields
}

func (Feat[T]) Run

func (f Feat[T]) Run(ctx context.Context, path string, _ ...string) (err error)

Jump to

Keyboard shortcuts

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