refactor(importer): use interfaces, not generics
1 file changed, 1 insertion(+), 7 deletions(-)
changed files
M internal/importer/main_test.go → internal/importer/main_test.go
@@ -72,13 +72,7 @@ if err != nil { b.Fatal(err) } - hadErrors, err := ImportSource( - b.Context(), - logger.Named("importer"), - store, - source, - write, - ) + hadErrors, err := imp.IndexSource(b.Context(), source) if err != nil { b.Fatal(err) }