all repos — searchix @ 08a05b653047f4b45d1a4213e0af94b3dda1d4e0

Search engine for NixOS, nix-darwin, home-manager and NUR users

refactor(importer): use interfaces, not generics

Alan Pearce
commit

08a05b653047f4b45d1a4213e0af94b3dda1d4e0

parent

9327a79febcce1056f2935918a947adb6f80a5c8

1 file changed, 1 insertion(+), 7 deletions(-)

changed files
M internal/importer/main_test.gointernal/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) }