summaryrefslogtreecommitdiff
path: root/internal/processor/processor_interface.go
diff options
from:
to:
context:
space:
mode:
Diffstat (limited to 'internal/processor/processor_interface.go')
-rw-r--r--internal/processor/processor_interface.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/processor/processor_interface.go b/internal/processor/processor_interface.go
new file mode 100644
index 0000000..8a8f803
--- /dev/null
+++ b/internal/processor/processor_interface.go
@@ -0,0 +1,8 @@
+package processor
+
+import "io"
+
+type Processor interface {
+ DeductOutputPath(inputPath string) string
+ Process(ext string, reader io.Reader, writer io.Writer) error
+}