initialized fiber project

This commit is contained in:
2024-06-18 20:10:42 +00:00
parent 0b51422bc7
commit cfad6759a5
9 changed files with 59 additions and 7 deletions
+17
View File
@@ -0,0 +1,17 @@
package main
import "github.com/gofiber/fiber/v2"
func main(){
app := fiber.New()
app.Get("/", hello)
app.Listen(":3000")
}
func hello(c *fiber.Ctx) error {
c.SendString("Hello, World!")
return nil
}