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.

Re: [go-nuts] goforward: What is it? How do I use it?

2019-07-01 Thread aoneal
> > > I'm not confident that there is now more documentation in this thread in > regards to go forward than there is anywhere else on the web. > I meant to say "I'm now confident that there is more ..." What it does: It reads an entire source package and outputs a single type alias file that

Re: [go-nuts] goforward: What is it? How do I use it?

2019-07-01 Thread aoneal
> In terms of how you get it, when you go to > https://go-review.googlesource.com/c/tools/+/137076/, you should see a > 'Download' button on the right side. If you click on that, it gives you 4-5 > options ranging from 'git fetch' to downloading a zip. > I did not see that before. Odd that