ini.go
func (c *Config) Options(section string) []string {
	var options []string
	for _, sect := range c.sections {
		if sect.name == section {
			for _, opt := range sect.options {
				options = append(options, opt.name)
			}
			break
		}
	}
	return options
}
func (c *Config) Options(section string) []string {
	var options []string
	for _, sect := range c.sections {
		if sect.name == section {
			for _, opt := range sect.options {
				options = append(options, opt.name)
			}
			break
		}
	}
	return options
}
func ( c * Config ) Options ( section string ) [ ] string { var options [ ] string for _ , sect := range c . sections { if sect . name == section { for _ , opt := range sect . options { options = append ( options , opt . name ) } break } } return options }
// Options returns the list of options in a given section.
Options returns the list of options in a given section .