// Get gets the value for the key in the config.
Get gets the value for the key in the config.
// Get gets the value for the key in the config .
func Get(key string, defaultValue ...interface{}) interface{} {
	if v.IsSet(key) {
		return v.Get(key)
	}
	if len(defaultValue) > 0 {
		return defaultValue[0]
	}
	return nil
}
func Get ( key string , defaultValue ... interface { } ) interface { } { if v . IsSet ( key ) { return v . Get ( key ) } if len ( defaultValue ) > 0 { return defaultValue [ 0 ] } return nil }
Get gets the value for the key in the config.
Get gets the value for the key in the config .