On Tue, Jul 2, 2019 at 3:53 PM christopher.dang via golang-nuts <golang-nuts@googlegroups.com> wrote: > > Hello, I'm migrating my codebase from dep to go modules. I'm able to run go > get ./... without any problems but when I run go build I get the following > error message: > > can't load package: package github.com/WeConnect/alpha: unknown import path > "github.com/WeConnect/alpha": cannot find module providing package > github.com/WeConnect/alpha > > The repository I'm working from is WeConnect/alpha which is weird because the > error message seems like my repository is breaking because it can't import > itself. Could someone tell me what's going on underneath the hood to give me > this crazy error message? Thanks
Did you run go mod init github.com/WeConnect/alpha? > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/f4c4f22e-2ff5-42f5-9032-3eca8280f54f%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAMV2Rqo%2BDP3XRqt1%2Be6fGUEkxWsUV99BUG6F2NmEuabHHXrtfg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.