NewApp creates a new app instance.
(cfgFile string)
| 628 | |
| 629 | // NewApp creates a new app instance. |
| 630 | func NewApp(cfgFile string) *App { |
| 631 | return &App{ |
| 632 | cfgFile: cfgFile, |
| 633 | } |
| 634 | } |
| 635 | |
| 636 | // CreateConfig creates a default configuration and saves it to the app's cfgFile. |
| 637 | func CreateConfig(app *App) error { |
no outgoing calls