ini.go
func (c *Config) Comments(section string) []string {
	if section == "" {
		return c.comments
	}
	for _, sect := range c.sections {
		if sect.name == section {
			return sect.comments
		}
	}
	return nil
}
func (c *Config) Comments(section string) []string {
	if section == "" {
		return c.comments
	}
	for _, sect := range c.sections {
		if sect.name == section {
			return sect.comments
		}
	}
	return nil
}
func ( c * Config ) Comments ( section string ) [ ] string { if section == " " { return c . comments } for _ , sect := range c . sections { if sect . name == section { return sect . comments } } return nil }
// Comments returns the list of comments in a given section.
// For the empty string, returns the file comments.
Comments returns the list of comments in a given section . For the empty string returns the file comments .