answer/plugin/parser.go

13 lines
213 B
Go

package plugin
type Parser interface {
Base
Parse(text string) (string, error)
}
var (
// CallParser is a function that calls all registered parsers
CallParser,
registerParser = MakePlugin[Parser](false)
)