feat(blogo,renderer): built-in multirenderer support via plugin
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
package blogo
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"io"
|
||||
"io/fs"
|
||||
)
|
||||
@@ -25,8 +24,6 @@ type Plugin interface {
|
||||
Name() string
|
||||
}
|
||||
|
||||
var ErrRendererNotSupportedFile = errors.New("this file is not supported by renderer")
|
||||
|
||||
type RendererPlugin interface {
|
||||
Plugin
|
||||
Render(src fs.File, out io.Writer) error
|
||||
|
||||
Reference in New Issue
Block a user