gofiber / fiber

⚡️ Express inspired web framework written in Go

Home Page:https://gofiber.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🤗 [Question]: Why v3 has no option to DisableStartupMessage

umardev500 opened this issue · comments

commented

Question Description

I just uses v3 as i can see that has no disable startup message optopm available

Code Snippet (optional)

No response

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.

@umardev500 The option still there, it was moved under ListenConfig

See here: https://github.com/gofiber/fiber/blob/main/listen.go#L90

@umardev500 Example:

app := fiber.New()
app.Listen(":3000", ListenConfig{DisableStartupMessage: true})