()
| 586 | } |
| 587 | |
| 588 | func (a *App) GetConfig() (config.AppConfig, error) { |
| 589 | if a.config == nil { |
| 590 | return config.DefaultConfig(), nil |
| 591 | } |
| 592 | return a.config.GetConfig(), nil |
| 593 | } |
| 594 | |
| 595 | func (a *App) SaveConfig(cfg config.AppConfig) error { |
| 596 | if a.config == nil { |
no test coverage detected