Skip to content
New issue

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝update handler example in timeout #1328

Merged
merged 1 commit into from
May 10, 2021
Merged

📝update handler example in timeout #1328

merged 1 commit into from
May 10, 2021

Conversation

Yash-Garg
Copy link
Contributor

Explain the details for making this change. What existing problem does the pull request solve?

ctx.Send sends byte data instead of the text so we need to use ctx.SendString, also if an error isn't returned from the function it gives the error Cannot use 'handler' (type func(ctx *fiber.Ctx)) as the type fiber.Handler

@welcome
Copy link

welcome bot commented May 10, 2021

Thanks for opening this pull request! 🎉 Please check out our contributing guidelines. If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@hi019 hi019 merged commit e7d5759 into gofiber:master May 10, 2021
@welcome
Copy link

welcome bot commented May 10, 2021

Congrats on merging your first pull request! 🎉 We here at Fiber are proud of you! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants