rename NewApp to Setup

This commit is contained in:
Anthony HAMON 2018-09-02 17:18:33 +02:00
parent 43ad9a81c2
commit 06846ef3ae
3 changed files with 45 additions and 3 deletions

View file

@ -43,7 +43,7 @@ func main() {
panic(err)
}
app, err := app.NewApp(appConfig)
app, err := app.Setup(appConfig)
if err != nil {
app.Log.Error(err.Error())
panic(err)