Skip to content

fix echo version while importing to prevent an error #137

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

Merged
merged 1 commit into from
Feb 29, 2020

Conversation

wish-master
Copy link
Contributor

If you install echo with this guide with:
$ go get -u github.com/labstack/echo/...
and after that use import like this:
import ( ... "github.com/labstack/echo/v4" )
you'll get an error:

cannot find package "github.com/labstack/echo/v4" in any of:
/usr/local/go/src/github.com/labstack/echo/v4 (from $GOROOT)
$GOPATH/src/github.com/labstack/echo/v4 (from $GOPATH)

we need to import just github.com/labstack/echo as we get v4 in fact (v4.1.14 at the moment)

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

Successfully merging this pull request may close these issues.

2 participants