diff options
| author | 2025-07-15 12:43:28 +0700 | |
|---|---|---|
| committer | 2025-07-15 12:43:28 +0700 | |
| commit | 373ec07b40178cb3b704aa83fc4fd53abfe279bc (patch) | |
| tree | dcadacab21909195fbe660f105f060f4e6f686ce /internal/processor/processor_interface.go | |
| parent | 6fef5c8ea06b0b25542afc65b412c75aa3d879a2 (diff) | |
| download | thumbnail-generator-373ec07b40178cb3b704aa83fc4fd53abfe279bc.tar.gz thumbnail-generator-373ec07b40178cb3b704aa83fc4fd53abfe279bc.zip | |
feat: prepare all internal pkg (input/output client & processor)
Diffstat (limited to 'internal/processor/processor_interface.go')
| -rw-r--r-- | internal/processor/processor_interface.go | 8 |
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 +} |