New

This method creates a new App named instance.
You can pass optional settings when creating a new instance

  1. fiber.New(settings ...Settings) *App
  1. package main
  2.  
  3. import "github.com/gofiber/fiber"
  4.  
  5. func main() {
  6. app := fiber.New()
  7.  
  8. // ...
  9.  
  10. app.Listen(3000)
  11. }