New
This method creates a new App named instance.
You can pass optional settings when creating a new instance
- fiber.New(settings ...Settings) *App
- package main
- import "github.com/gofiber/fiber"
- func main() {
- app := fiber.New()
- // ...
- app.Listen(3000)
- }