Documentation
¶
Index ¶
- func Load() *models.Config
- func Location() string
- func LocationExists() bool
- func NewConfigLoader() modelhelper.ConfigService
- func NewConfigService() modelhelper.ConfigService
- func NewWithWizard() modelhelper.ConfigService
- func SetDefaultConnection(key string) error
- func SetDefaultEditor(editor string) error
- func SetDeveloper(name string, email string, github string, merge bool) error
- func SetLangDefLocation(loc string) error
- func SetPort(api int, web int) error
- func SetTemplateLocation(loc string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigLoader ¶
func NewConfigLoader() modelhelper.ConfigService
func NewConfigService ¶
func NewConfigService() modelhelper.ConfigService
func NewWithWizard ¶
func NewWithWizard() modelhelper.ConfigService
Initialize builds the configuration
func SetDefaultConnection ¶
func SetDefaultEditor ¶
func SetDeveloper ¶
if isDefault {
cfg.DefaultConnection = key
}
return update(cfg)
}
func SetLangDefLocation ¶
func SetTemplateLocation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.