Exemple #1
0
// NewConfig creates a new instance of Config.
func NewConfig() Config {
	result := Config{}
	values.SetDefaultsTo(defaults, &result)
	return result
}
Exemple #2
0
func (instance *Config) init() {
	values.SetDefaultsTo(defaultValues, instance)
}