As the title already states, update the dependency.
I find it pretty weird.
When using github.com/labstack/echo-jwt you get the github.com/golang-jwt/jwt/v4 dependency (https://github.com/labstack/echo-jwt/blob/main/go.mod)
which in turn imports github.com/labstack/echo/middleware importing the github.com/golang-jwt/jwt v3.x.x+incompatible.
You are basically getting both major versions as dependencies which is kind of dirty :).
As the title already states, update the dependency.
I find it pretty weird.
When using
github.com/labstack/echo-jwtyou get thegithub.com/golang-jwt/jwt/v4dependency (https://github.com/labstack/echo-jwt/blob/main/go.mod)which in turn imports
github.com/labstack/echo/middlewareimporting thegithub.com/golang-jwt/jwt v3.x.x+incompatible.You are basically getting both major versions as dependencies which is kind of dirty :).