feat: use logrus

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2023-05-26 19:42:53 +05:30
1 parent 6117c82d32
commit 244804fe85
6 files changed
+168 -4

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package api
import "github.com/gofiber/fiber/v2"
func RegisterRoutes() {
app := fiber.New(fiber.Config{
DisableStartupMessage: true,
})
app.Get("/", func(c *fiber.Ctx) error {
return c.SendString("OK")
})
app.Listen(":3000")
}