Keys will return back a list of all setting names in this Section
()
| 213 | |
| 214 | // Keys will return back a list of all setting names in this Section |
| 215 | func (section *Section) Keys() []string { |
| 216 | var keys []string |
| 217 | for key := range section.values { |
| 218 | keys = append(keys, key) |
| 219 | } |
| 220 | |
| 221 | sort.Strings(keys) |
| 222 | return keys |
| 223 | } |
| 224 | |
| 225 | // Set will set a value (Primative or Section) to the provided name |
| 226 | func (section *Section) Set(name string, value Value) { |
no outgoing calls