It's an old project and I put everything in the main package.
The names are long and confusing and (supposed to be-) isolated modules are
sharing their private types and values.
I'd like to move some pieces of the code to new packages. The moved code
has references and I would have to rename to include the new package name
(like <moved_type> to <new_package.moved_type>.)
I tried gorename, but as soon as I move code to a new package and old
references become undeclared errors, gorename refuses to refactor because
of those errors.
Is there any tool that allows this kind of renaming?
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.