-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
MiddlewareFunc version error #1517
Comments
Please use |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Im trying to fix cors origin error using middleware lib but I can not pass middleware.CORS() to Use funcfion of e thouhg I am using v4 of echo . the error I face is in below: cannot use middleware.CORS() (value of type "github.com/labstack/echo".MiddlewareFunc) as "github.com/labstack/echo/v4".MiddlewareFunc value in argument to e.UsecompilerIncompatibleAssign
|
Change |
Issue Description
cannot use session.Middleware(sessions.NewCookieStore(([]byte)("secret"))) (type "github.com/labstack/echo/v4".MiddlewareFunc) as type "github.com/labstack/echo".MiddlewareFunc
Version/commit
The text was updated successfully, but these errors were encountered: