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

How to use v4 #1475

Closed
gregfr opened this issue Jan 10, 2020 · 2 comments
Closed

How to use v4 #1475

gregfr opened this issue Jan 10, 2020 · 2 comments
Labels

Comments

@gregfr
Copy link

gregfr commented Jan 10, 2020

I'm trying to compile the code samples, for example this one:
https://echo.labstack.com/middleware/prometheus

But it seems the documentation (https://echo.labstack.com/guide/installation) only refers to v3.

How can I compile the sample and use v4?

Thanks in advance

@constantins2001
Copy link

github.com/labstack/echo/v4 only works when using Go modules.

Remove the /v4 prefix or migrate to Go modules.

@stale
Copy link

stale bot commented Mar 11, 2020

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.

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

No branches or pull requests

2 participants