From 851591b1bbaf30b0c1367f48f918bcc87e6ffbb5 Mon Sep 17 00:00:00 2001 From: mls-361 Date: Mon, 3 May 2021 23:45:44 +0200 Subject: [PATCH] =?UTF-8?q?En=20cours=20de=20d=C3=A9veloppement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 21eb6cf..9a08759 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -124,8 +124,7 @@ func run() error { ccs := components.New(app) - err := buildComponents(ccs) - if err != nil { + if err := buildComponents(ccs); err != nil { return app.OnError(err) } @@ -142,7 +141,7 @@ func run() error { demo.Start() - err = ccs.Server.Start() + err := ccs.Server.Start() close(endCh)