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