-
Notifications
You must be signed in to change notification settings - Fork 1k
dep ensure does not work with "go modules" import path suffixes (/vN) #2139
Comments
I am having a similar issue trying to vendor github.com/olivere/elastic. Dep fails with the following being the relevant error message:
|
I am experiencing the same exact issue with v4 echo module. I wanted to use echo-swagger, but it has dependency on v4 echo module. Is it going to be looked at in the near future? |
go get github.com/olivere/elastic/v7 |
there is no dir v7 in the root of repository |
Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks! |
What version of
dep
are you using (dep version
)?0.5.1
What
dep
command did you run?I tried to run an example from https://github.com/labstack/echo
It uses "go modules"-compatible import path suffixes since v4.0.0. So its import path is
"github.com/labstack/echo/v4"
. Such import paths are supported in Go 1.9.7+, 1.10.3+ 1.11+I ran
dep init
, created main.go, then randep ensure -v
.What did you expect to see?
github.com/labstack/echo v4.0.0 in vendor/
What did you see instead?
Multiple errors
The text was updated successfully, but these errors were encountered: