code: func (c *ConfigFile) DeleteSection(section string) bool {
  	// Blank section name represents DEFAULT section.
  	if len(section) == 0 {
  		section = DEFAULT_SECTION
  	}
  
  	// Check if section exists.
  	if _, ok := c.data[section]; !ok {
  		return false
  	}
  
  	delete(c.data, section)
  	// Remove comments of section.
  	c.SetSectionComments(section, "")
  	// Get index of section.
  	i := 0
  	for _, secName := range c.sectionList {
  		if secName == section {
  			break
  		}
  		i++
  	}
  	// Remove from section list.
  	c.sectionList = append(c.sectionList[:i], c.sectionList[i+1:]...)
  	return true
  }
docs: // DeleteSection deletes the entire section by given name.
  // It returns true if the section was deleted, and false if the section didn't exist.