From 6781684647ad7f131054a93e1d13105d865c0e83 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 12 Jul 2024 20:52:52 +0200 Subject: feat: enable combined search --- internal/config/importer-type.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'internal/config/importer-type.go') diff --git a/internal/config/importer-type.go b/internal/config/importer-type.go index 9bd50b6..6003d7d 100644 --- a/internal/config/importer-type.go +++ b/internal/config/importer-type.go @@ -9,13 +9,16 @@ import ( type ImporterType int const ( - UnknownType = iota + All = iota - 1 + UnknownType Packages Options ) func (i ImporterType) String() string { switch i { + case All: + return "combined" case Packages: return "packages" case Options: @@ -27,6 +30,8 @@ func (i ImporterType) String() string { func (i ImporterType) Singular() string { switch i { + case All: + return "combined" case Packages: return "package" case Options: -- cgit 1.4.1