From 276b7ad38da8b64a20886541c68d4e9be9aba725 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Mon, 23 Dec 2024 18:24:14 -0500 Subject: [PATCH] removed some unused files --- processor.go | 7 ------- source.go | 29 ----------------------------- 2 files changed, 36 deletions(-) delete mode 100644 processor.go delete mode 100644 source.go diff --git a/processor.go b/processor.go deleted file mode 100644 index 4f5e655..0000000 --- a/processor.go +++ /dev/null @@ -1,7 +0,0 @@ -package extractor - -import "context" - -type Processor interface { - Process(ctx context.Context, src source) (source, error) -} diff --git a/source.go b/source.go deleted file mode 100644 index 21fc0a9..0000000 --- a/source.go +++ /dev/null @@ -1,29 +0,0 @@ -package extractor - -import ( - "io" - "strings" -) - -type Source interface { - URL() string - String() string - Reader() io.Reader -} - -type source struct { - sourceUrl string - content string -} - -func (s source) URL() string { - return s.sourceUrl -} - -func (s source) String() string { - return s.content -} - -func (s source) Reader() io.Reader { - return strings.NewReader(s.content) -}