Skip to content

fix echo version while importing to prevent an error#137

Merged
vishr merged 1 commit intolabstack:masterfrom
wish-master:master
Feb 29, 2020
Merged

fix echo version while importing to prevent an error#137
vishr merged 1 commit intolabstack:masterfrom
wish-master:master

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