about summary refs log tree commit diff stats
path: root/internal/importer/nixpkgs-channel.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-13 15:07:00 +0200
committerAlan Pearce2024-05-13 15:07:00 +0200
commit37deedc9b1da92571548c920721984d545269eb4 (patch)
tree4e5eae6e7bc95bf70d2ec954e042e4193b13137a /internal/importer/nixpkgs-channel.go
parentf700a3284ecc88bb2af1df5f0c8d242290a549cc (diff)
downloadsearchix-37deedc9b1da92571548c920721984d545269eb4.tar.lz
searchix-37deedc9b1da92571548c920721984d545269eb4.tar.zst
searchix-37deedc9b1da92571548c920721984d545269eb4.zip
refactor: move Source/Repository types to config package
Diffstat (limited to 'internal/importer/nixpkgs-channel.go')
-rw-r--r--internal/importer/nixpkgs-channel.go3
1 files changed, 2 insertions, 1 deletions
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
 }