fix(blogo): missing RendererPlugin interface declaration

This commit is contained in:
Guz
2025-01-09 11:11:44 -03:00
parent 4160bdb6eb
commit 983373a220

View File

@@ -15,7 +15,10 @@
package blogo
import "io/fs"
import (
"io"
"io/fs"
)
type Plugin interface {
Name() string
@@ -25,3 +28,8 @@ type SourcerPlugin interface {
Plugin
Source() (fs.FS, error)
}
type RendererPlugin interface {
Plugin
Render(src fs.File, out io.Writer) error
}