func (c *Config) OptionMap(section string) map[string]string {
	options := make(map[string]string)
	for _, sect := range c.sections {
		if sect.name == section {
			for _, opt := range sect.options {
				options[opt.name] = opt.value
			}
			break
		}
	}
	return options
}
func (c *Config) OptionMap(section string) map[string]string {
	options := make(map[string]string)
	for _, sect := range c.sections {
		if sect.name == section {
			for _, opt := range sect.options {
				options[opt.name] = opt.value
			}
			break
		}
	}
	return options
}
func ( c * Config ) OptionMap ( section string ) map [ string ] string { options := make ( map [ string ] string ) for _ , sect := range c . sections { if sect . name == section { for _ , opt := range sect . options { options [ opt . name ] = opt . value } break } } return options }
// OptionMap returns the map option => value for a given section.
OptionMap returns the map option = > value for a given section .