GoLand
 
Get GoLand
Because GoLand 2025.1 is still in development, this documentation may not be entirely accurate and is subject to change.

Using the move refactoring

Last modified: 26 May 2024

With the move refactoring, you can take any top-level named identifier from your code and move it either to a separate file or to a different package.

For example purposes, clone the Delve project from Github: git clone https://github.com/derekparker/delve. For more information about Git, refer to the official Git documentation.