summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.go b/init.go
index 4b22120..fc5b949 100644
--- a/init.go
+++ b/init.go
@@ -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 {