sane common configurations

This commit is contained in:
A.Unger
2021-11-11 12:51:57 +01:00
parent 04d8ec86ab
commit aa67106e04
11 changed files with 72 additions and 97 deletions
+7
View File
@@ -15,3 +15,10 @@ type Log struct {
Color bool `mapstructure:"color"`
File string `mapstructure:"file"`
}
// Commons holds configuration that are common to all extensions. Each extension can then decide whether
// to overwrite its values.
type Commons struct {
*Log `mapstructure:"log"`
OcisURL string `mapstructure:"ocis_url"`
}