On Tuesday, 13 December 2016 08:58:00 UTC-5, jis...@hifx.co.in wrote: > > > > http://stackoverflow.com/questions/41121448/code-base-refactoring-tool-for-go-move-files-from-packages-to-sub-packages > > Currently my code-base have just 1 level of packages , due to the increase > in number of components it would make much sense if I use sub packages.Is > there any code refactoring tools I could use to achieve this? I tried > *gomvpkg* https://godoc.org/golang.org/x/tools/cmd/gomvpkg but doesnot > support moving files from same package to different package. >
We do not currently have a production-quality tool that can split a package into two or more parts, although Michael Matloob and I produced an experimental prototype of a tool (https://go-review.googlesource.com/3269) to analyze and refactor large packages such as "runtime" with complex internal dependencies. It may be more complex than you need, but it might save you time. -- 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. For more options, visit https://groups.google.com/d/optout.