func (c Config) mustInt(name string) int {
	// Values obtained over the api are encoded as float64.
	if value, ok := c[name].(float64); ok {
		return int(value)
	}
	value, _ := c[name].(int)
	if value == 0 {
		panic(errors.Errorf("empty value for %q found in configuration", name))
	}
	return value
}
// mustInt returns the named attribute as an integer, panicking if
// it is not found or is zero. Zero values should have been
// diagnosed at Validate time.
mustInt returns the named attribute as an integer, panicking if
it is not found or is zero. Zero values should have been
diagnosed at Validate time.
// mustInt returns the named attribute as an integer panicking if // it is not found or is zero . Zero values should have been // diagnosed at Validate time .
func (c Config) mustInt(name string) int {
	if value, ok := c[name].(float64); ok {
		return int(value)
	}
	value, _ := c[name].(int)
	if value == 0 {
		panic(errors.Errorf("empty value for %q found in configuration", name))
	}
	return value
}
func ( c Config ) mustInt ( name string ) int { if value , ok := c [ name ] . ( float64 ) ; ok { return int ( value ) } value , _ := c [ name ] . ( int ) if value == 0 { panic ( errors . Errorf ( " " , name ) ) } return value }
mustInt returns the named attribute as an integer, panicking if
it is not found or is zero.
mustInt returns the named attribute as an integer panicking if it is not found or is zero .
// Values obtained over the api are encoded as float64.