diff options
author | Alan Pearce | 2024-07-12 20:52:52 +0200 |
---|---|---|
committer | Alan Pearce | 2024-07-12 21:20:15 +0200 |
commit | 6781684647ad7f131054a93e1d13105d865c0e83 (patch) | |
tree | 307a688125f18128f582f7754af9a5451f0cb109 /internal/config | |
parent | 442345898802e93b0b884fd0f1c3492e08c34049 (diff) | |
download | searchix-6781684647ad7f131054a93e1d13105d865c0e83.tar.lz searchix-6781684647ad7f131054a93e1d13105d865c0e83.tar.zst searchix-6781684647ad7f131054a93e1d13105d865c0e83.zip |
feat: enable combined search
Diffstat (limited to 'internal/config')
-rw-r--r-- | internal/config/importer-type.go | 7 |
1 files changed, 6 insertions, 1 deletions
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: |