We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fiber version 1.11.x Issue description flag.Parse not working when using Prefork on Fiber Code snippet
This piece of code is throwing error:
port := flag.Int("port", 8080, "Port number to serve app") flag.Parse() App = fiber.New(&fiber.Settings{ ErrorHandler: nil, Prefork: true, DisableStartupMessage: true, Templates: handlebars.New("./resources/views", "html"), }) err := App.Listen(*port) if err != nil { panic(err) }
Error:
main: error: unknown short flag '-c', try --help
The text was updated successfully, but these errors were encountered:
馃悰 flag.Parse not working when using Prefork on Fiber gofiber#469
58f8826
add predefined flags to avoid errors
Merge pull request #471 from ReneWerner87/master
f20e66e
馃悰 flag.Parse not working when using Prefork on Fiber #469
@itsursujit this should be fixed, you can try the alpha version v1.12.0-alpha go get github.com/gofiber/fiber@v1.12.0-alpha
v1.12.0-alpha
go get github.com/gofiber/fiber@v1.12.0-alpha
Sorry, something went wrong.
No branches or pull requests
Fiber version
1.11.x
Issue description
flag.Parse not working when using Prefork on Fiber
Code snippet
This piece of code is throwing error:
Error:
The text was updated successfully, but these errors were encountered: