Write writes content to config file.
()
| 106 | |
| 107 | // Write writes content to config file. |
| 108 | func (c config) Write() error { |
| 109 | return c.content.SaveTo(c.path) |
| 110 | } |
| 111 | |
| 112 | func (c config) GetSection(name string) *ini.Section { |
| 113 | sec, err := c.content.GetSection(name) |