refactor: combine import and web server into one binary
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/importer/channel.go → internal/importer/channel.go
@@ -9,7 +9,7 @@ "os/exec" "path" "searchix/internal/config" "searchix/internal/file" - "searchix/internal/search" + "searchix/internal/index" "strconv" "strings"@@ -81,7 +81,7 @@ return before != after, nil } -func (i *ChannelImporter) Import(parent context.Context, indexer *search.WriteIndex) (bool, error) { +func (i *ChannelImporter) Import(parent context.Context, indexer *index.WriteIndex) (bool, error) { if i.Source.OutputPath == "" { return false, errors.New("no output path specified") }