An issue is already opened cf. https://github.com/golang/go/issues/22291
On Saturday, August 11, 2018 at 8:08:01 PM UTC+2, Joseph Lorenzini wrote: > > > All: > > Using vgo, I haven't been able to build a go package with this library. > Using go 1.10, I can successfully build this library. > > https://github.com/fsouza/go-dockerclient > > When I attempt to vgo build, I get this error > > /Volumes/Repositories/go/pkg/mod/ > github.com/fsouza/go-dockerclient@v1.2.2/internal/archive/archive.go:21:2: > case-insensitive import collision: "github.com/sirupsen/logrus" and " > github.com/Sirupsen/logrus" > > > According to logrus project (github.com/sirupsen/logrus), the lowercase > variant should always be used. So I added, this replace to go.mod. > > vgo mod edit -replace= > github.com/Sirupsen/logrus=github.com/sirupsen/logrus@v1.0.6 > > > But then vgo build fails, with this error: > > go: github.com/sirupsen/logrus@v1.0.6 used for two different module > paths (github.com/Sirupsen/logrus and github.com/sirupsen/logrus) > > Aside from opening an issue with the library author or forking the > library, Is there a standard way to handle this kind of problem so that a > program will build again? > > Thanks, > Joe > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.