all repos — searchix @ f24c5b0a9901cc91967ed83bc4a015bd0b2c3d4d

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

refactor: move Source type

Alan Pearce
commit

f24c5b0a9901cc91967ed83bc4a015bd0b2c3d4d

parent

df77930bef039e4aef024574c60fb64d75287eee

1 file changed, 0 insertions(+), 15 deletions(-)

changed files
M internal/importer/importer.gointernal/importer/importer.go
@@ -6,22 +6,7 @@ "log/slog"
"path" "searchix/internal/search" "sync" - "time" ) - -type Source struct { - Name string - Key string - Enable bool - Type Type - Channel string - Attribute string - ImportPath string `toml:"import-path"` - FetchTimeout time.Duration `toml:"fetch-timeout"` - ImportTimeout time.Duration `toml:"import-timeout"` - OutputPath string `toml:"output-path"` - Repo Repository -} type Importer interface { FetchIfNeeded(context.Context) (bool, error)