diff options
Diffstat (limited to 'internal/config/importer-type.go')
-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: |