From 1ccd21f59c7ed07e15178635fc38d68f7ab50c59 Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Wed, 29 Apr 2020 20:47:13 +0200 Subject: [PATCH] Init clients when init app --- app/app.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/app.go b/app/app.go index bfe7c3f..8fe7bc4 100644 --- a/app/app.go +++ b/app/app.go @@ -71,5 +71,8 @@ func NewApp(path string) (*App, error) { if err := app.Load(); err != nil { return nil, err } + if err := app.InitClients(); err != nil { + return nil, err + } return app, nil }