refactor: reduce use of pointers in particular, Source can no longer be nil. Instantiate a Source with an Importer of All instead
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/fetcher/download.go → internal/fetcher/download.go
@@ -13,13 +13,13 @@ "alin.ovh/searchix/internal/index" ) type DownloadFetcher struct { - Source *config.Source + Source config.Source SourceFile string *Options } func NewDownloadFetcher( - source *config.Source, + source config.Source, options *Options, ) (*DownloadFetcher, error) { switch source.Importer {