diff --git a/app/startup.go b/app/startup.go index ea0b668..7f1e166 100644 --- a/app/startup.go +++ b/app/startup.go @@ -1,11 +1,12 @@ package app import ( - "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" ) -func StartupSettings(e *echo.Echo) { +func (a *App) StartupSettings() { + e := a.E() + e.HideBanner = true e.Use(middleware.Logger()) diff --git a/run.go b/run.go index 7173e32..3d9d957 100644 --- a/run.go +++ b/run.go @@ -28,7 +28,7 @@ func run() error { e := a.E() logger := a.Logger() - app.StartupSettings(e) + a.StartupSettings() _, err = config.LoadConfig(*configFlag) if err != nil {