about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-16 17:09:29 +0200
committerAlan Pearce2024-05-16 20:30:19 +0200
commit0ef52f2f82c62694c5420f7f6c82fb8c45900d1d (patch)
tree695e96e3a3eb8213d751e2a6cb9d9fcd534f6843
parent51f774aaced998ad3c7c31e370aea22cc2fdbbc5 (diff)
downloadsearchix-0ef52f2f82c62694c5420f7f6c82fb8c45900d1d.tar.lz
searchix-0ef52f2f82c62694c5420f7f6c82fb8c45900d1d.tar.zst
searchix-0ef52f2f82c62694c5420f7f6c82fb8c45900d1d.zip
refactor: remove unused interface
-rw-r--r--internal/importer/ingest.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/importer/ingest.go b/internal/importer/ingest.go
index 349b0ac..778a4ae 100644
--- a/internal/importer/ingest.go
+++ b/internal/importer/ingest.go
@@ -62,10 +62,6 @@ type OptionIngester struct {
 	source  *config.Source
 }
 
-type Ingester[T options.NixOption] interface {
-	Process() (<-chan *T, <-chan error)
-}
-
 func NewOptionProcessor(inpath string, source *config.Source) (*OptionIngester, error) {
 	infile, err := os.Open(inpath)
 	if err != nil {