mods

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFromList added in v0.5.0

func CreateFromList(list List) ([]seras.Module, error)

func MakeFromConfig added in v0.5.0

func MakeFromConfig(name string, config interface{}) (seras.Module, error)

func Register added in v0.5.0

func Register(name string, factory Factory)

Types

type Factory added in v0.5.0

type Factory interface {
	Create(config any) (seras.Module, error)
}

type List added in v0.5.0

type List map[string]interface{}

List [mod name]config

Directories

Path Synopsis
rss
sed
Package sed is a toy implementation of sed for making _real_ corrections only, no silly seds.
Package sed is a toy implementation of sed for making _real_ corrections only, no silly seds.

Jump to

Keyboard shortcuts

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