contrib
contrib copied to clipboard
🚀 [Feature]: Ability to use separate version
Feature Description
Now the contrib version doesn't have the separation as in the original fiber
jwtware "github.com/gofiber/contrib/jwt"
I want to be able to easily switch between versions, for example I want to use jwt compatible with fiber 3.
So just change
jwtware "github.com/gofiber/contrib/v2/jwt"
To
jwtware "github.com/gofiber/contrib/v3/jwt"
What do you think guys?
Additional Context (optional)
No response
Code Snippet (optional)
Checklist:
- [x] I agree to follow Fiber's Code of Conduct.
- [x] I have checked for existing issues that describe my suggestion prior to opening this one.
- [x] I understand that improperly formatted feature requests may be closed without explanation.
@KoNekoD Each contrib has it's own go.mod so the version goes at the end.
Example:
jwtware "github.com/gofiber/contrib/jwt/v2
jwtware "github.com/gofiber/contrib/jwt/v3
There's no go.mod file at the root of this repo.