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/follow.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 routes/follow.go (limited to 'routes/follow.go') diff --git a/routes/follow.go b/routes/follow.go new file mode 100644 index 0000000..2578983 --- /dev/null +++ b/routes/follow.go @@ -0,0 +1,15 @@ +package routes + +import "github.com/gofiber/fiber/v2" + +func Following(c *fiber.Ctx) error { + // STUB + + return c.SendString("main following") +} + +func Followers(c *fiber.Ctx) error { + // STUB + + return c.SendString("main followers") +} -- cgit v1.2.3