code: func ParseSections(r io.Reader) (sections []string, err error) {
  	s := bufio.NewScanner(r)
  
  	for s.Scan() {
  		t := s.Text()
  		if strings.HasPrefix(t, "[") {
  			sections = append(sections, strings.Trim(t, "[]"))
  		}
  	}
  
  	err = s.Err()
  
  	return
  }
docs: // ParseSections returns INI style sections from r.