()
| 51 | type Subsections []*Subsection |
| 52 | |
| 53 | func (s Subsections) GoString() string { |
| 54 | var strs []string |
| 55 | for _, ss := range s { |
| 56 | strs = append(strs, fmt.Sprintf("%#v", ss)) |
| 57 | } |
| 58 | |
| 59 | return strings.Join(strs, ", ") |
| 60 | } |
| 61 | |
| 62 | // IsName checks if the name provided is equals to the Section name, case insensitive. |
| 63 | func (s *Section) IsName(name string) bool { |