From 37deedc9b1da92571548c920721984d545269eb4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 13 May 2024 15:07:00 +0200 Subject: refactor: move Source/Repository types to config package --- internal/importer/nixpkgs-channel.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/importer/nixpkgs-channel.go') diff --git a/internal/importer/nixpkgs-channel.go b/internal/importer/nixpkgs-channel.go index 2ee6027..7aaa816 100644 --- a/internal/importer/nixpkgs-channel.go +++ b/internal/importer/nixpkgs-channel.go @@ -7,6 +7,7 @@ import ( "net/url" "os" "path" + "searchix/internal/config" "searchix/internal/file" "searchix/internal/search" @@ -15,7 +16,7 @@ import ( type NixpkgsChannelImporter struct { DataPath string - Source *Source + Source *config.Source Logger *slog.Logger } -- cgit 1.4.1