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
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
I know that modules are a touchy subject over here in dep land. I just wanted to bring up an issue that we are having while we wanted to support both dep and module dependency management.
Since Go 1.10.3 added "minimal module-awareness", we've started adding go.mod files in some of our libraries.
If a library has a major version 2, then it's module line in go.mod will be module github.com/foo/bar/v2 even if it is being fetched from github.com/foo/bar. Go, since 1.10.3, will build just fine when using imports like import bar "github.com/foo/bar/v2", but dep complains that the repo doesn't have a submodule v2.
As a result, we can't use dep at all if we depend on packages using go.mod.
I know we are bleeding edge here, but any help in reconciling this issue would be much appreciated.
Please note that this is an issue for the current production release of Go, and not limited to builds using the new module support in vgo or go1.11.beta2.
dolmen, AlekSi, wallyqs, bvisness and Thiamathwallyqs