mirror of https://github.com/gofiber/fiber.git
parent
9dd3d94ff2
commit
7b3a36f22f
|
@ -73,7 +73,7 @@ func main() {
|
||||||
app := fiber.New()
|
app := fiber.New()
|
||||||
|
|
||||||
// Define a route for the GET method on the root path '/'
|
// Define a route for the GET method on the root path '/'
|
||||||
app.Get("/", func(c *fiber.Ctx) error {
|
app.Get("/", func(c fiber.Ctx) error {
|
||||||
// Send a string response to the client
|
// Send a string response to the client
|
||||||
return c.SendString("Hello, World 👋!")
|
return c.SendString("Hello, World 👋!")
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue