mini.go
func (config *Config) IntegerFromSection(sectionName string, key string, def int64) int64 {
	section := config.sectionForName(sectionName)

	if section != nil {
		return getInteger(section.values, key, def)
	}

	return def
}
func (config *Config) IntegerFromSection(sectionName string, key string, def int64) int64 {
	section := config.sectionForName(sectionName)

	if section != nil {
		return getInteger(section.values, key, def)
	}

	return def
}
/*
IntegerFromSection looks for the specified key and returns it as an int64. If not found the default value def is returned.

If the section name matches the config.name or "" the global data is searched.
*/