gofiber / contrib

🧬 Repository for third party middlewares with dependencies
https://docs.gofiber.io/contrib/
MIT License
198 stars 102 forks source link

🤗 [Question]: websocket.Conn.Locals vs fiber.Ctx.Locals signature difference #1113

Open slainless opened 1 month ago

slainless commented 1 month ago

Question Description

Is there a reason why the difference of signature between the two? While this is not a really major issue, it prevents consumer from making any straightforward common logic that can be used for both type of context.

Code Snippet (optional)

No response

Checklist: