Fix wrong go types

This commit is contained in:
2023-07-22 14:28:49 +02:00
parent f36146731b
commit d113f02d90
3 changed files with 5 additions and 3 deletions

View File

@ -0,0 +1,21 @@
package app
import (
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/compress"
"github.com/gofiber/fiber/v2/middleware/helmet"
"github.com/gofiber/fiber/v2/middleware/logger"
"{{cookiecutter.module_path}}/internal/app/api"
)
func Run() error {
app := fiber.New()
app.Use(logger.New())
app.Use(compress.New())
app.Use(helmet.New())
api.ConfigureRoutes(app)
return app.Listen(":3000")
}