go: make StartupSettings a method
This commit is contained in:
parent
c945c9fcb7
commit
5cfad662fc
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue