From 886d09bdb39a37789d239b47c7654b1000481914 Mon Sep 17 00:00:00 2001 From: Nimish Kashyap <74850106+NimishKashyap@users.noreply.github.com> Date: Tue, 19 Dec 2023 04:04:55 +0530 Subject: [PATCH] [Enhancement]: Use fiber.Map instead of map object (#154) --- cmd/template/framework/files/routes/fiber.go.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/template/framework/files/routes/fiber.go.tmpl b/cmd/template/framework/files/routes/fiber.go.tmpl index dedcf59e..d419c806 100644 --- a/cmd/template/framework/files/routes/fiber.go.tmpl +++ b/cmd/template/framework/files/routes/fiber.go.tmpl @@ -9,9 +9,9 @@ func (s *FiberServer) RegisterFiberRoutes() { } func (s *FiberServer) HelloWorldHandler(c *fiber.Ctx) error { - resp := map[string]string{ + resp := fiber.Map{ "message": "Hello World", } return c.JSON(resp) -} \ No newline at end of file +}