diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,9 +24,9 @@ func Default(opts ...OptionFunc) *Engine { */ -func Init() *Forge { - cfg := loadStdConfig() // will also handle new users - return initFromConfig(cfg) +func Init() (*Forge, error) { + cfg := LoadStdConfig() // will also handle new users + return initFromConfig(cfg), nil } func InitByAppname(argname string) *Forge { |
