From b97e0403c8f0be0bf415e537981763495ae0b783 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Tue, 26 Oct 2021 22:33:30 -0300 Subject: move routes to subpackage --- routes/index.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 routes/index.go (limited to 'routes/index.go') diff --git a/routes/index.go b/routes/index.go new file mode 100644 index 0000000..ccd398b --- /dev/null +++ b/routes/index.go @@ -0,0 +1,7 @@ +package routes + +import "github.com/gofiber/fiber/v2" + +func Index(c *fiber.Ctx) error { + return c.SendString("index") +} -- cgit v1.2.3