mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-27 15:32:15 -05:00
arrange config.Config
This commit is contained in:
@@ -54,13 +54,13 @@ type Config struct {
|
||||
File string
|
||||
Log Log
|
||||
Debug Debug
|
||||
HTTP HTTP
|
||||
HTTP HTTP `mapstructure:"http"`
|
||||
Tracing Tracing
|
||||
Asset Asset
|
||||
Policies []Policy `mapstructure:"policies"`
|
||||
}
|
||||
|
||||
// New initializes a new configuration with or without defaults.
|
||||
// New initializes a new configuration
|
||||
func New() *Config {
|
||||
return &Config{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user