You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ govendor init
$ go get -u github.com/labstack/echo
$ go run server.go
server.go:6:2: cannot find package "github.com/labstack/echo" in any of:
/home/nlamirault/Apps/golang/src/github.com/nlamirault/toto/vendor/github.com/labstack/echo (vendor tree)
/home/nlamirault/Apps/go/src/github.com/labstack/echo (from $GOROOT)
/home/nlamirault/Apps/golang/src/github.com/labstack/echo (from $GOPATH)
Activity
hfogelberg commentedon Nov 29, 2016
I had the same problem. You need to import "github.com/labstack/echo/middleware" as well.
Could somebody update the docs, please?
vishr commentedon Nov 29, 2016
You don't need middleware to run this example. Make sure you have set $GOPATH and your project is within it.
nlamirault commentedon Nov 29, 2016
Yes it is.
vishr commentedon Nov 29, 2016
/home/nlamirault/Apps/golang/src/github.com/nlamirault/totoshould be in GOPATH and use the following command to get the framework.govendor fetch github.com/labstack/echo@v3.0nlamirault commentedon Dec 2, 2016
This is the test :
issue: fixed #755
issue: fixed #755
issue: fixed labstack#755 (labstack#758)