This is a design draft for a tool (gomvfile) that would allow to migrate a set of symbols from a package to another.
- Isolate symbols that have to move: move all symbols to migrate into one or multiple separate source files. Those sources must not have depenencies on the internals (private symbols, private struct members) of the rest of the package.
- Use
gomvfile
to migrate the files to the target package