Skip to content
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

IncompatibleAssign Swagger #98

Open
zxcfer opened this issue Jan 18, 2023 · 1 comment
Open

IncompatibleAssign Swagger #98

zxcfer opened this issue Jan 18, 2023 · 1 comment

Comments

@zxcfer
Copy link

zxcfer commented Jan 18, 2023

Getting this error

cannot use echoSwagger.WrapHandler (variable of type "github.com/labstack/echo/v4".HandlerFunc) as "github.com/labstack/echo".HandlerFunc value in argument to e.GETcompiler[IncompatibleAssign](https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#IncompatibleAssign)
@ubogdan
Copy link
Contributor

ubogdan commented Jan 19, 2023

Try to update your import from github.com/labstack/echo to github.com/labstack/echo/v4. Should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants