ini.go
func (c *Config) Sections() []string {
	var sections []string
	for _, sect := range c.sections {
		sections = append(sections, sect.name)
	}
	return sections
}
func (c *Config) Sections() []string {
	var sections []string
	for _, sect := range c.sections {
		sections = append(sections, sect.name)
	}
	return sections
}
func ( c * Config ) Sections ( ) [ ] string { var sections [ ] string for _ , sect := range c . sections { sections = append ( sections , sect . name ) } return sections }
// Sections returns the list of sections in the file.
Sections returns the list of sections in the file .