diff options
Diffstat (limited to 'internal/config/importer-type.go')
-rw-r--r-- | internal/config/importer-type.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/config/importer-type.go b/internal/config/importer-type.go index 0d0263c..8f64d58 100644 --- a/internal/config/importer-type.go +++ b/internal/config/importer-type.go @@ -42,3 +42,7 @@ func (i *ImporterType) UnmarshalText(text []byte) error { return err } + +func (i *ImporterType) MarshalText() ([]byte, error) { + return []byte(i.String()), nil +} |