feat(blogo,plugins,listplugin): list plugin support

This commit is contained in:
Guz
2025-01-14 16:05:40 -03:00
parent 22ac932e37
commit 34249f6ab3
2 changed files with 12 additions and 0 deletions

View File

@@ -24,6 +24,11 @@ type Plugin interface {
Name() string
}
type ListPlugin interface {
Plugin
Plugins() []Plugin
}
type RendererPlugin interface {
Plugin
Render(src fs.File, out io.Writer) error