added "version" endpoint

master
Nilo Roberto C Paim 2023-08-14 08:00:27 -03:00
parent ee69d3332f
commit df286787ba
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ func main() {
AllowMethods: "GET,POST,HEAD,PUT,DELETE,PATCH,OPTIONS",
}))
app.Get("/", func(c *fiber.Ctx) error {
app.Get("/version", func(c *fiber.Ctx) error {
return c.SendString("1.0.0")
})