mini.go
func (config *Config) KeysForSection(sectionName string) []string {
	section := config.sectionForName(sectionName)

	if section != nil {
		keys := make([]string, 0, len(section.values))
		for key := range section.values {
			keys = append(keys, key)
		}
		sort.Strings(keys)
		return keys
	}

	return nil
}
func (config *Config) KeysForSection(sectionName string) []string {
	section := config.sectionForName(sectionName)

	if section != nil {
		keys := make([]string, 0, len(section.values))
		for key := range section.values {
			keys = append(keys, key)
		}
		sort.Strings(keys)
		return keys
	}

	return nil
}
/*
KeysForSection returns all of the keys found in the section named sectionName.

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