Re: [go-nuts] [ANN] gomvpkg: move a package, updating import declarations

2019-07-01 Thread aoneal
Correction: cat go.mod > module github.com/myuser/myproject I had a correct go.mod in my project, I just updated it wrong when I posted the "sanitized" example. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group

Re: [go-nuts] [ANN] gomvpkg: move a package, updating import declarations

2019-07-01 Thread aoneal
Does this tool no longer work since the move to go modules? pushd myproject/ cat go.mod > github.com/myuser/myproject gomvpkg -from github.com/myuser/myproject/foo/bar -to github.com/myuser/myproject/foo/baz > gomvpkg: src dir not found for package: > github.com/myuser/myproject/foo/bar.