Replaced double quotes with backticks in all route parameter strings #2591
Replaced double quotes with backticks in all route parameter strings #2591ReneWerner87 merged 5 commits intogofiber:masterfrom
Conversation
|
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 |
|
@11-aryan Why not use double quotes? Please give a reason |
|
@Skyenought As pjebs had mentioned in the issue description, in go's regex documentation, they always use backticks to make sure it is unambiguous and the escape character doesn't interfere with regex patterns in an unexpected way. |
|
understandable, but please only where escaped, the normal case should already be the double quote can we also adjust the test which is in the code with the backticks to make sure that works what we mention in the docs Lines 88 to 106 in 8ec7cec there are also other cases |
|
Yeah sure, I'll change it |
|
@11-aryan any progress ? |
|
@ReneWerner87 I've made the required changes. |
|
Ok. Thanks |
|
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 |


Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Explain the details for making this change. What existing problem does the pull request solve?
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Checklist:
Commit formatting:
Use emojis on commit messages so it provides an easy way of identifying the purpose or intention of a commit. Check out the emoji cheatsheet here: https://gitmoji.carloscuesta.me/