about summary refs log tree commit diff stats
path: root/internal/importer/importer.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/importer/importer.go')
-rw-r--r--internal/importer/importer.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/internal/importer/importer.go b/internal/importer/importer.go
index 30ab2f6..0f7978d 100644
--- a/internal/importer/importer.go
+++ b/internal/importer/importer.go
@@ -6,23 +6,8 @@ import (
 	"path"
 	"searchix/internal/search"
 	"sync"
-	"time"
 )
 
-type Source struct {
-	Name          string
-	Key           string
-	Enable        bool
-	Type          Type
-	Channel       string
-	Attribute     string
-	ImportPath    string        `toml:"import-path"`
-	FetchTimeout  time.Duration `toml:"fetch-timeout"`
-	ImportTimeout time.Duration `toml:"import-timeout"`
-	OutputPath    string        `toml:"output-path"`
-	Repo          Repository
-}
-
 type Importer interface {
 	FetchIfNeeded(context.Context) (bool, error)
 	Import(context.Context, *search.WriteIndex) (bool, error)