func (c *Config) Getint(key string) (int, error) {
	if value, found := c.data[key]; found {
		v, err := strconv.ParseInt(value, 10, 0)
		return int(v), err
	}
	return 0, ErrKey
}
func (c *Config) Getint(key string) (int, error) {
	if value, found := c.data[key]; found {
		v, err := strconv.ParseInt(value, 10, 0)
		return int(v), err
	}
	return 0, ErrKey
}
func ( c * Config ) Getint ( key string ) ( int , error ) { if value , found := c . data [ key ] ; found { v , err := strconv . ParseInt ( value , 10 , 0 ) return int ( v ) , err } return 0 , ErrKey }
// Getint returns the integer value for a given key.
Getint returns the integer value for a given key .