diff options
Diffstat (limited to 'go/internal/config/config.go')
-rw-r--r-- | go/internal/config/config.go | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/go/internal/config/config.go b/go/internal/config/config.go index 64822c7..4069851 100644 --- a/go/internal/config/config.go +++ b/go/internal/config/config.go @@ -13,11 +13,16 @@ const ( logFile = "gitlab-shell.log" ) +type MigrationConfig struct { + Enabled bool `yaml:"enabled"` + Features []string `yaml:"features"` +} + type Config struct { - RootDir string - LogFile string `yaml:"log_file"` - LogFormat string `yaml:"log_format"` - Experimental bool `yaml:"experimental"` + RootDir string + LogFile string `yaml:"log_file"` + LogFormat string `yaml:"log_format"` + Migration MigrationConfig `yaml:"migration"` } func New() (*Config, error) { |